public interface SecurityRequest
| Modifier and Type | Method | Description |
|---|---|---|
default java.util.Optional<Entity> |
getRequestEntity() |
Access request message entity.
|
java.util.Map<java.lang.String,java.util.function.Supplier<java.lang.Object>> |
getResources() |
Return a map of keys to resource instances.
|
default java.util.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 java.util.Optional<Entity> getRequestEntity()
default java.util.Optional<Entity> getResponseEntity()
io.opentracing.Span getTracingSpan()
GlobalTracer.get(),
Tracer.buildSpan(String)java.util.Map<java.lang.String,java.util.function.Supplier<java.lang.Object>> getResources()
Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.