public class DefaultMultifactorAuthenticationContextValidator
extends java.lang.Object
implements org.apereo.cas.authentication.AuthenticationContextValidator
DefaultMultifactorAuthenticationContextValidator is responsible for evaluating an authentication
object to see whether it satisfied a requested authentication context.| Constructor and Description |
|---|
DefaultMultifactorAuthenticationContextValidator() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.lang3.tuple.Pair<java.lang.Boolean,java.util.Optional<org.apereo.cas.services.MultifactorAuthenticationProvider>> |
validate(org.apereo.cas.authentication.Authentication authentication,
java.lang.String requestedContext,
org.apereo.cas.services.RegisteredService service)
If the authentication event is established as part trusted/device browser
such that MFA was skipped, allow for validation to execute successfully.
|
public DefaultMultifactorAuthenticationContextValidator()
public org.apache.commons.lang3.tuple.Pair<java.lang.Boolean,java.util.Optional<org.apereo.cas.services.MultifactorAuthenticationProvider>> validate(org.apereo.cas.authentication.Authentication authentication,
java.lang.String requestedContext,
org.apereo.cas.services.RegisteredService service)
validate in interface org.apereo.cas.authentication.AuthenticationContextValidatorauthentication - the authenticationrequestedContext - the requested contextservice - the service