public interface SecurityRequest
| Modifier and Type | Method and Description |
|---|---|
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 Optional<Entity> |
requestEntity()
Deprecated.
Access to entity is to be removed from security
|
Map<String,Supplier<Object>> |
resources()
Return a map of keys to resource instances.
|
default Optional<Entity> |
responseEntity()
Deprecated.
Access to entity is to be removed from security
|
Span |
tracingSpan()
Get the span to trace subsequent requests.
|
default boolean isOptional()
SecurityResponse.SecurityStatus.FAILURE without doing any side effects (e.g. should not redirect, call third
parties etc.).@Deprecated default Optional<Entity> requestEntity()
@Deprecated default Optional<Entity> responseEntity()
Span tracingSpan()
GlobalTracer.get(),
Tracer.buildSpan(String)Copyright © 2018–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.