Class BaseMultifactorAuthenticationProviderBypassEvaluator
java.lang.Object
org.apereo.cas.authentication.bypass.BaseMultifactorAuthenticationProviderBypassEvaluator
- All Implemented Interfaces:
Serializable,org.apereo.cas.authentication.bypass.MultifactorAuthenticationProviderBypassEvaluator,org.springframework.core.Ordered
- Direct Known Subclasses:
AlwaysAllowMultifactorAuthenticationProviderBypassEvaluator,AuthenticationMultifactorAuthenticationProviderBypassEvaluator,CredentialMultifactorAuthenticationProviderBypassEvaluator,GroovyMultifactorAuthenticationProviderBypassEvaluator,HttpRequestMultifactorAuthenticationProviderBypassEvaluator,NeverAllowMultifactorAuthenticationProviderBypassEvaluator,PrincipalMultifactorAuthenticationProviderBypassEvaluator,RegisteredServiceMultifactorAuthenticationProviderBypassEvaluator,RegisteredServicePrincipalAttributeMultifactorAuthenticationProviderBypassEvaluator,RestMultifactorAuthenticationProviderBypassEvaluator
public abstract class BaseMultifactorAuthenticationProviderBypassEvaluator
extends Object
implements org.apereo.cas.authentication.bypass.MultifactorAuthenticationProviderBypassEvaluator
- Since:
- 6.1.0
- See Also:
-
Field Summary
Fields inherited from interface org.apereo.cas.authentication.bypass.MultifactorAuthenticationProviderBypassEvaluator
AUTHENTICATION_ATTRIBUTE_BYPASS_MFA, AUTHENTICATION_ATTRIBUTE_BYPASS_MFA_PROVIDERFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
Modifier and TypeMethodDescriptionOptional<org.apereo.cas.authentication.bypass.MultifactorAuthenticationProviderBypassEvaluator> belongsToMultifactorAuthenticationProvider(String providerId) voidforgetBypass(org.apereo.cas.authentication.Authentication authentication) getId()booleanisMultifactorAuthenticationBypassed(org.apereo.cas.authentication.Authentication authentication, String requestedContext) voidrememberBypass(org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.authentication.MultifactorAuthenticationProvider provider) booleanshouldMultifactorAuthenticationProviderExecute(org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.authentication.MultifactorAuthenticationProvider provider, jakarta.servlet.http.HttpServletRequest request, org.apereo.cas.authentication.principal.Service service) toString()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apereo.cas.authentication.bypass.MultifactorAuthenticationProviderBypassEvaluator
getOrder, isEmpty, size
-
Method Details
-
shouldMultifactorAuthenticationProviderExecute
public boolean shouldMultifactorAuthenticationProviderExecute(org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.authentication.MultifactorAuthenticationProvider provider, jakarta.servlet.http.HttpServletRequest request, org.apereo.cas.authentication.principal.Service service) - Specified by:
shouldMultifactorAuthenticationProviderExecutein interfaceorg.apereo.cas.authentication.bypass.MultifactorAuthenticationProviderBypassEvaluator
-
isMultifactorAuthenticationBypassed
public boolean isMultifactorAuthenticationBypassed(org.apereo.cas.authentication.Authentication authentication, String requestedContext) - Specified by:
isMultifactorAuthenticationBypassedin interfaceorg.apereo.cas.authentication.bypass.MultifactorAuthenticationProviderBypassEvaluator
-
forgetBypass
public void forgetBypass(org.apereo.cas.authentication.Authentication authentication) - Specified by:
forgetBypassin interfaceorg.apereo.cas.authentication.bypass.MultifactorAuthenticationProviderBypassEvaluator
-
rememberBypass
public void rememberBypass(org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.authentication.MultifactorAuthenticationProvider provider) - Specified by:
rememberBypassin interfaceorg.apereo.cas.authentication.bypass.MultifactorAuthenticationProviderBypassEvaluator
-
belongsToMultifactorAuthenticationProvider
public Optional<org.apereo.cas.authentication.bypass.MultifactorAuthenticationProviderBypassEvaluator> belongsToMultifactorAuthenticationProvider(String providerId) - Specified by:
belongsToMultifactorAuthenticationProviderin interfaceorg.apereo.cas.authentication.bypass.MultifactorAuthenticationProviderBypassEvaluator
-
getProviderId
- Specified by:
getProviderIdin interfaceorg.apereo.cas.authentication.bypass.MultifactorAuthenticationProviderBypassEvaluator
-
getId
- Specified by:
getIdin interfaceorg.apereo.cas.authentication.bypass.MultifactorAuthenticationProviderBypassEvaluator
-
toString
-