Class CredentialMultifactorAuthenticationProviderBypassEvaluator

  • All Implemented Interfaces:
    java.io.Serializable, org.apereo.cas.authentication.bypass.MultifactorAuthenticationProviderBypassEvaluator, org.springframework.core.Ordered

    public class CredentialMultifactorAuthenticationProviderBypassEvaluator
    extends BaseMultifactorAuthenticationProviderBypassEvaluator
    Multifactor Bypass provider based on Credentials.
    Since:
    6.0
    See Also:
    Serialized Form
    • Constructor Detail

      • CredentialMultifactorAuthenticationProviderBypassEvaluator

        public CredentialMultifactorAuthenticationProviderBypassEvaluator​(org.apereo.cas.configuration.model.support.mfa.MultifactorAuthenticationProviderBypassProperties bypassProperties,
                                                                          java.lang.String providerId)
    • Method Detail

      • locateMatchingCredentialType

        protected static boolean locateMatchingCredentialType​(org.apereo.cas.authentication.Authentication authentication,
                                                              java.lang.String credentialClassType)
        Locate matching credential type boolean.
        Parameters:
        authentication - the authentication
        credentialClassType - the credential class type
        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