|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sourceid.saml20.adapter.idp.authn.AuthnPolicy
public class AuthnPolicy
A wrapper object that contains restrictions on what kind of user interaction is allowed
or required during authentication.
In general the values contained are derived from the IsPassive and ForceAuthn attributes
of the SAML2 AuthnRequest.
To be protocol compliant, an adapter implementation should behave as dictated by
the AuthnPolicy.
Constructor Summary | |
---|---|
AuthnPolicy(boolean allowUserInteraction,
boolean reauthenticate)
Create a new AuthnPolicy object. |
Method Summary | |
---|---|
boolean |
allowUserInteraction()
Does policy allow direct interaction with the user (or user agent)? Generally interacting with the user means presenting them with a login page or something similar. |
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
boolean |
reauthenticate()
Does policy dictate that the user re-authenticate? Re-authenticating generally means that an existing security context should not be relied upon and that the user must present authentication credentials again. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuthnPolicy(boolean allowUserInteraction, boolean reauthenticate)
Method Detail |
---|
public boolean allowUserInteraction()
public boolean reauthenticate()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |