public class DefaultMultifactorAuthenticationProviderBypass extends java.lang.Object implements MultifactorAuthenticationProviderBypass
AUTHENTICATION_ATTRIBUTE_BYPASS_MFA, AUTHENTICATION_ATTRIBUTE_BYPASS_MFA_PROVIDER| Constructor and Description |
|---|
DefaultMultifactorAuthenticationProviderBypass(org.apereo.cas.configuration.model.support.mfa.BaseMultifactorProvider.Bypass bypass) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAuthenticationRequestHonored(org.apereo.cas.authentication.Authentication authentication,
org.apereo.cas.services.RegisteredService registeredService,
org.apereo.cas.services.MultifactorAuthenticationProvider provider)
Eval current bypass rules for the provider.
|
protected boolean |
locateMatchingAttributeBasedOnAuthenticationAttributes(org.apereo.cas.configuration.model.support.mfa.BaseMultifactorProvider.Bypass bypass,
org.apereo.cas.authentication.Authentication authn)
Skip bypass and support event based on authentication attributes.
|
protected boolean |
locateMatchingAttributeBasedOnPrincipalAttributes(org.apereo.cas.configuration.model.support.mfa.BaseMultifactorProvider.Bypass bypass,
org.apereo.cas.authentication.principal.Principal principal)
Skip bypass and support event based on principal attributes.
|
protected boolean |
locateMatchingAttributeValue(java.lang.String attrName,
java.lang.String attrValue,
java.util.Map<java.lang.String,java.lang.Object> attributes)
Locate matching attribute value boolean.
|
protected boolean |
locateMatchingAttributeValue(java.lang.String attrName,
java.lang.String attrValue,
java.util.Map<java.lang.String,java.lang.Object> attributes,
boolean matchIfNoValueProvided)
Evaluate attribute rules for bypass.
|
protected boolean |
locateMatchingCredentialType(org.apereo.cas.authentication.Authentication authentication,
java.lang.String credentialClassType)
Locate matching credential type boolean.
|
protected boolean |
locateMatchingRegisteredServiceForBypass(org.apereo.cas.authentication.Authentication authentication,
org.apereo.cas.services.RegisteredService registeredService)
Locate matching registered service property boolean.
|
public DefaultMultifactorAuthenticationProviderBypass(org.apereo.cas.configuration.model.support.mfa.BaseMultifactorProvider.Bypass bypass)
public boolean isAuthenticationRequestHonored(org.apereo.cas.authentication.Authentication authentication,
org.apereo.cas.services.RegisteredService registeredService,
org.apereo.cas.services.MultifactorAuthenticationProvider provider)
MultifactorAuthenticationProviderBypassisAuthenticationRequestHonored in interface MultifactorAuthenticationProviderBypassauthentication - the authenticationregisteredService - the registered service in questionprovider - the providerprotected boolean locateMatchingRegisteredServiceForBypass(org.apereo.cas.authentication.Authentication authentication,
org.apereo.cas.services.RegisteredService registeredService)
authentication - the authenticationregisteredService - the registered serviceprotected boolean locateMatchingCredentialType(org.apereo.cas.authentication.Authentication authentication,
java.lang.String credentialClassType)
authentication - the authenticationcredentialClassType - the credential class typeprotected boolean locateMatchingAttributeBasedOnAuthenticationAttributes(org.apereo.cas.configuration.model.support.mfa.BaseMultifactorProvider.Bypass bypass,
org.apereo.cas.authentication.Authentication authn)
bypass - the bypassauthn - the authnprotected boolean locateMatchingAttributeBasedOnPrincipalAttributes(org.apereo.cas.configuration.model.support.mfa.BaseMultifactorProvider.Bypass bypass,
org.apereo.cas.authentication.principal.Principal principal)
bypass - the bypassprincipal - the principalprotected boolean locateMatchingAttributeValue(java.lang.String attrName,
java.lang.String attrValue,
java.util.Map<java.lang.String,java.lang.Object> attributes)
attrName - the attr nameattrValue - the attr valueattributes - the attributesprotected boolean locateMatchingAttributeValue(java.lang.String attrName,
java.lang.String attrValue,
java.util.Map<java.lang.String,java.lang.Object> attributes,
boolean matchIfNoValueProvided)
attrName - the attr nameattrValue - the attr valueattributes - the attributesmatchIfNoValueProvided - the force match on value