Class RequiredAuthenticationHandlerAuthenticationPolicy
java.lang.Object
org.apereo.cas.authentication.policy.BaseAuthenticationPolicy
org.apereo.cas.authentication.policy.BaseAuthenticationHandlerAuthenticationPolicy
org.apereo.cas.authentication.policy.RequiredAuthenticationHandlerAuthenticationPolicy
- All Implemented Interfaces:
Serializable,org.apereo.cas.authentication.AuthenticationPolicy,org.apereo.cas.util.NamedObject,org.springframework.core.Ordered
public class RequiredAuthenticationHandlerAuthenticationPolicy
extends BaseAuthenticationHandlerAuthenticationPolicy
Authentication security policy that is satisfied iff a specified
authentication handler successfully authenticates
at least one credential.
- Since:
- 4.0.0
- See Also:
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionRequiredAuthenticationHandlerAuthenticationPolicy(String requiredHandlerNames) RequiredAuthenticationHandlerAuthenticationPolicy(Set<String> handlerNames, boolean tryAll) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()org.apereo.cas.authentication.AuthenticationPolicyExecutionResultisSatisfiedByInternal(org.apereo.cas.authentication.Authentication authn) Methods inherited from class org.apereo.cas.authentication.policy.BaseAuthenticationHandlerAuthenticationPolicy
getHandlerNames, isSatisfiedBy, isTryAll, setHandlerNames, setTryAllMethods inherited from class org.apereo.cas.authentication.policy.BaseAuthenticationPolicy
getName, getOrder, setName, setOrderMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apereo.cas.authentication.AuthenticationPolicy
isSatisfiedBy, isSatisfiedBy, isSatisfiedBy, shouldResumeOnFailure
-
Constructor Details
-
RequiredAuthenticationHandlerAuthenticationPolicy
-
RequiredAuthenticationHandlerAuthenticationPolicy
-
RequiredAuthenticationHandlerAuthenticationPolicy
public RequiredAuthenticationHandlerAuthenticationPolicy()
-
-
Method Details
-
isSatisfiedByInternal
public org.apereo.cas.authentication.AuthenticationPolicyExecutionResult isSatisfiedByInternal(org.apereo.cas.authentication.Authentication authn) -
equals
- Overrides:
equalsin classBaseAuthenticationHandlerAuthenticationPolicy
-
hashCode
public int hashCode()- Overrides:
hashCodein classBaseAuthenticationHandlerAuthenticationPolicy
-