public class RequiredHandlerAuthenticationPolicy
extends java.lang.Object
implements org.apereo.cas.authentication.AuthenticationPolicy
| Constructor and Description |
|---|
RequiredHandlerAuthenticationPolicy(java.lang.String requiredHandlerName)
Instantiates a new required handler authentication policy.
|
RequiredHandlerAuthenticationPolicy(java.lang.String requiredHandlerName,
boolean tryAll)
Instantiates a new Required handler authentication policy.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSatisfiedBy(org.apereo.cas.authentication.Authentication authn) |
public RequiredHandlerAuthenticationPolicy(java.lang.String requiredHandlerName)
requiredHandlerName - the required handler namepublic RequiredHandlerAuthenticationPolicy(java.lang.String requiredHandlerName,
boolean tryAll)
requiredHandlerName - the required handler nametryAll - Sets the flag to try all credentials before the policy is satisfied.
This flag is disabled by default such that the policy is satisfied immediately upon the first
credential that is successfully authenticated by the required handler.