Class NotPreventedAuthenticationPolicy
- java.lang.Object
-
- org.apereo.cas.authentication.policy.BaseAuthenticationPolicy
-
- org.apereo.cas.authentication.policy.AtLeastOneCredentialValidatedAuthenticationPolicy
-
- org.apereo.cas.authentication.policy.NotPreventedAuthenticationPolicy
-
- All Implemented Interfaces:
java.io.Serializable,org.apereo.cas.authentication.AuthenticationPolicy,org.springframework.core.Ordered
public class NotPreventedAuthenticationPolicy extends AtLeastOneCredentialValidatedAuthenticationPolicy
Authentication policy that defines success as at least one authentication success and no authentication attempts that were prevented by system errors. This policy may be a desirable alternative toAtLeastOneCredentialValidatedAuthenticationPolicyfor cases where deployers wish to fail closed for indeterminate security events.- Since:
- 4.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NotPreventedAuthenticationPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apereo.cas.authentication.AuthenticationPolicyExecutionResultisSatisfiedBy(org.apereo.cas.authentication.Authentication authentication, java.util.Set<org.apereo.cas.authentication.AuthenticationHandler> authenticationHandlers, org.springframework.context.ConfigurableApplicationContext applicationContext, java.util.Optional<java.io.Serializable> assertion)
-
-
-
Method Detail
-
isSatisfiedBy
public org.apereo.cas.authentication.AuthenticationPolicyExecutionResult isSatisfiedBy(org.apereo.cas.authentication.Authentication authentication, java.util.Set<org.apereo.cas.authentication.AuthenticationHandler> authenticationHandlers, org.springframework.context.ConfigurableApplicationContext applicationContext, java.util.Optional<java.io.Serializable> assertion) throws java.lang.Exception- Specified by:
isSatisfiedByin interfaceorg.apereo.cas.authentication.AuthenticationPolicy- Overrides:
isSatisfiedByin classAtLeastOneCredentialValidatedAuthenticationPolicy- Throws:
java.lang.Exception
-
-