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.
@FunctionalInterface public interface MultifactorAuthenticationContextValidatorThis isMultifactorAuthenticationContextValidator, which is responsible for evaluating an authentication object to see whether it satisfied a requested authentication context.- Since:
- 5.1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MultifactorAuthenticationContextValidationResultvalidate(org.apereo.cas.authentication.Authentication authentication, java.lang.String requestedContext, java.util.Optional<org.apereo.cas.services.RegisteredService> service)Validate the authentication context.
-
-
-
Method Detail
-
validate
MultifactorAuthenticationContextValidationResult validate(org.apereo.cas.authentication.Authentication authentication, java.lang.String requestedContext, java.util.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.
-
-