Package org.apereo.cas.authentication
Interface MultifactorAuthenticationContextValidator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
This is
MultifactorAuthenticationContextValidator, which is responsible for evaluating an authentication
object to see whether it satisfied a requested authentication context.- Since:
- 5.1.0
-
Field Details
-
BEAN_NAME
Default impl bean name.- See Also:
-
-
Method Details
-
validate
MultifactorAuthenticationContextValidationResult validate(org.apereo.cas.authentication.Authentication authentication, String requestedContext, Optional<org.apereo.cas.services.RegisteredService> service) Validate the authentication context.- Parameters:
authentication- the authenticationrequestedContext- the requested contextservice- the service- Returns:
- the result indicates whether context is satisfied, and if so, by which provider.
-