public interface ContextualAuthenticationPolicy<T> extends AuthenticationPolicy
| Modifier and Type | Method and Description |
|---|---|
default java.util.Optional<java.lang.String> |
getCode()
Return an optional message code to use when this
ContextualAuthenticationPolicy is unsatisfied. |
T |
getContext()
Gets the context used to evaluate the authentication policy.
|
getOrder, isSatisfiedByT getContext()
default java.util.Optional<java.lang.String> getCode()
ContextualAuthenticationPolicy is unsatisfied.