Class NotPreventedAuthenticationPolicy
- java.lang.Object
-
- org.apereo.cas.authentication.policy.AnyAuthenticationPolicy
-
- org.apereo.cas.authentication.policy.NotPreventedAuthenticationPolicy
-
- All Implemented Interfaces:
org.apereo.cas.authentication.AuthenticationPolicy,org.springframework.core.Ordered
public class NotPreventedAuthenticationPolicy extends AnyAuthenticationPolicy
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 toAnyAuthenticationPolicyfor cases where deployers wish to fail closed for indeterminate security events.- Since:
- 4.0.0
-
-
Constructor Summary
Constructors Constructor Description NotPreventedAuthenticationPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisSatisfiedBy(org.apereo.cas.authentication.Authentication authentication)
-
-
-
Method Detail
-
isSatisfiedBy
public boolean isSatisfiedBy(org.apereo.cas.authentication.Authentication authentication) throws java.lang.Exception- Specified by:
isSatisfiedByin interfaceorg.apereo.cas.authentication.AuthenticationPolicy- Overrides:
isSatisfiedByin classAnyAuthenticationPolicy- Throws:
java.lang.Exception
-
-