Class 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 Detail

      • AuthenticationMultifactorAuthenticationProviderBypassEvaluator

        public AuthenticationMultifactorAuthenticationProviderBypassEvaluator​(org.apereo.cas.configuration.model.support.mfa.MultifactorAuthenticationProviderBypassProperties bypassProperties,
                                                                              java.lang.String providerId)
    • 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)
        Should multifactor authentication provider execute internal.
        Specified by:
        shouldMultifactorAuthenticationProviderExecuteInternal in class BaseMultifactorAuthenticationProviderBypassEvaluator
        Parameters:
        authentication - the authentication
        registeredService - the registered service
        provider - the provider
        request - the request
        Returns:
        true/false