public interface SecurityRequest
| Modifier and Type | Method | Description |
|---|---|---|
default Optional<Entity> |
getRequestEntity() |
Access request message entity.
|
Map<String,Supplier<Object>> |
getResources() |
Return a map of keys to resource instances.
|
default Optional<Entity> |
getResponseEntity() |
Access response message entity.
|
io.opentracing.Span |
getTracingSpan() |
Get the span to trace subsequent requests.
|
default boolean |
isOptional() |
If true and security provider does not find required information in request/response/message, or headers, it should
return
SecurityResponse.SecurityStatus.FAILURE without doing any side effects (e.g. |
default boolean isOptional()
SecurityResponse.SecurityStatus.FAILURE without doing any side effects (e.g. should not redirect, call third
parties etc.).default Optional<Entity> getRequestEntity()
default Optional<Entity> getResponseEntity()
io.opentracing.Span getTracingSpan()
GlobalTracer.get(),
Tracer.buildSpan(String)Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.