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 is unsatisfied.
|
T |
getContext()
Gets the context used to evaluate the authentication policy.
|
getOrder, isSatisfiedBy
T getContext()
default java.util.Optional<java.lang.String> getCode()