public class AnyAuthenticationPolicy
extends java.lang.Object
implements org.apereo.cas.authentication.AuthenticationPolicy
| Constructor and Description |
|---|
AnyAuthenticationPolicy()
Instantiates a new Any authentication policy.
|
AnyAuthenticationPolicy(boolean tryAll)
Instantiates a new Any authentication policy.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSatisfiedBy(org.apereo.cas.authentication.Authentication authn) |
void |
setTryAll(boolean tryAll)
Sets the flag to try all credentials before the policy is satisfied.
|
public AnyAuthenticationPolicy()
public AnyAuthenticationPolicy(boolean tryAll)
tryAll - the try allpublic void setTryAll(boolean tryAll)
false.tryAll - True to force all credentials to be authenticated, false otherwise.public boolean isSatisfiedBy(org.apereo.cas.authentication.Authentication authn)
throws java.lang.Exception
isSatisfiedBy in interface org.apereo.cas.authentication.AuthenticationPolicyjava.lang.Exception