Class AuthenticationMultifactorAuthenticationProviderBypassEvaluator
- java.lang.Object
-
- org.apereo.cas.authentication.bypass.BaseMultifactorAuthenticationProviderBypassEvaluator
-
- org.apereo.cas.authentication.bypass.AuthenticationMultifactorAuthenticationProviderBypassEvaluator
-
- All Implemented Interfaces:
java.io.Serializable,org.apereo.cas.authentication.bypass.MultifactorAuthenticationProviderBypassEvaluator,org.springframework.core.Ordered
public class AuthenticationMultifactorAuthenticationProviderBypassEvaluator extends BaseMultifactorAuthenticationProviderBypassEvaluator
Multifactor Bypass Provider based on Authentication.- Since:
- 6.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthenticationMultifactorAuthenticationProviderBypassEvaluator(org.apereo.cas.configuration.model.support.mfa.MultifactorAuthenticationProviderBypassProperties bypassProperties, java.lang.String providerId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static booleanlocateMatchingAttributeBasedOnAuthenticationAttributes(org.apereo.cas.configuration.model.support.mfa.MultifactorAuthenticationProviderBypassProperties bypass, org.apereo.cas.authentication.Authentication authn)Skip bypass and support event based on authentication attributes.booleanshouldMultifactorAuthenticationProviderExecuteInternal(org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.authentication.MultifactorAuthenticationProvider provider, javax.servlet.http.HttpServletRequest request)Should multifactor authentication provider execute internal.-
Methods inherited from class org.apereo.cas.authentication.bypass.BaseMultifactorAuthenticationProviderBypassEvaluator
belongsToMultifactorAuthenticationProvider, forgetBypass, isMultifactorAuthenticationBypassed, locateMatchingAttributeValue, locateMatchingAttributeValue, rememberBypass, resolvePrincipal, shouldMultifactorAuthenticationProviderExecute
-
-
-
-
Method Detail
-
locateMatchingAttributeBasedOnAuthenticationAttributes
protected static boolean locateMatchingAttributeBasedOnAuthenticationAttributes(org.apereo.cas.configuration.model.support.mfa.MultifactorAuthenticationProviderBypassProperties bypass, org.apereo.cas.authentication.Authentication authn)Skip bypass and support event based on authentication attributes.- Parameters:
bypass- the bypass settings for the provider.authn- the authn- Returns:
- true/false
-
shouldMultifactorAuthenticationProviderExecuteInternal
public boolean shouldMultifactorAuthenticationProviderExecuteInternal(org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.authentication.MultifactorAuthenticationProvider provider, javax.servlet.http.HttpServletRequest request)Description copied from class:BaseMultifactorAuthenticationProviderBypassEvaluatorShould multifactor authentication provider execute internal.- Specified by:
shouldMultifactorAuthenticationProviderExecuteInternalin classBaseMultifactorAuthenticationProviderBypassEvaluator- Parameters:
authentication- the authenticationregisteredService- the registered serviceprovider- the providerrequest- the request- Returns:
- true/false
-
-