public class AnyAuthenticationPolicy extends Object implements AuthenticationPolicy
| Constructor and Description |
|---|
AnyAuthenticationPolicy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSatisfiedBy(Authentication authn)
Determines whether an authentication event isSatisfiedBy arbitrary security policy.
|
void |
setTryAll(boolean tryAll)
Sets the flag to try all credentials before the policy is satisfied.
|
public void setTryAll(boolean tryAll)
tryAll - True to force all credentials to be authenticated, false otherwise.public boolean isSatisfiedBy(Authentication authn)
AuthenticationPolicyisSatisfiedBy in interface AuthenticationPolicyauthn - Authentication event to examine for compliance with security policy.Copyright © 2004-2015 Apereo. All Rights Reserved.