@FunctionalInterface
public interface AuthenticationContextValidator
AuthenticationContextValidator
, which is responsible for evaluating an authentication
object to see whether it satisfied a requested authentication context.Modifier and Type | Method and Description |
---|---|
org.apache.commons.lang3.tuple.Pair<java.lang.Boolean,java.util.Optional<MultifactorAuthenticationProvider>> |
validate(Authentication authentication,
java.lang.String requestedContext,
RegisteredService service)
Validate the authentication context.
|
org.apache.commons.lang3.tuple.Pair<java.lang.Boolean,java.util.Optional<MultifactorAuthenticationProvider>> validate(Authentication authentication, java.lang.String requestedContext, RegisteredService service)
authentication
- the authenticationrequestedContext
- the requested contextservice
- the service