|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openid4java.message.pape.PapeMessage
org.openid4java.message.pape.PapeResponse
public class PapeResponse
Implements the extension for OpenID Provider Authentication Policy responses.
| Field Summary | |
|---|---|
protected static java.util.List |
PAPE_FIELDS
|
| Fields inherited from class org.openid4java.message.pape.PapeMessage |
|---|
_parameters, AUTH_LEVEL_NS_PREFIX, AUTH_LEVEL_PREFIX, authLevelAliases, OPENID_NS_PAPE, PAPE_POLICY_MULTI_FACTOR, PAPE_POLICY_MULTI_FACTOR_PHYSICAL, PAPE_POLICY_PHISHING_RESISTANT |
| Constructor Summary | |
|---|---|
protected |
PapeResponse()
Constructs a Pape Response with an empty parameter list. |
protected |
PapeResponse(ParameterList params)
Constructs a Pape Response from a parameter list. |
| Method Summary | |
|---|---|
void |
addAuthPolicy(java.lang.String policyUri)
Adds an authentication policy URI to the auth_policies parameter. |
static PapeResponse |
createPapeResponse()
Constructs a Pape Response with an empty parameter list. |
static PapeResponse |
createPapeResponse(ParameterList params)
|
java.util.Date |
getAuthDate()
Gets the timestamp when the End User has most recentnly authenticated to the OpenID Provider in a manner fitting the asserted policies. |
java.lang.String |
getAuthPolicies()
Gets the auth_policies parameter value. |
java.util.List |
getAuthPoliciesList()
Gets a list with the auth_policies. |
java.lang.String |
getAuthTime()
Gets the timestamp when the End User has most recentnly authenticated to the OpenID Provider in a manner fitting the asserted policies. |
java.lang.String |
getCustomAuthLevel(java.lang.String authLevelTypeUri)
|
void |
setAuthPolicies(java.lang.String policyUris)
Sets a new value for the auth_policies parameter. |
void |
setAuthTime(java.util.Date timestamp)
Sets the auth_time parameter. |
void |
setCustomAuthLevel(java.lang.String authLevelTypeUri,
java.lang.String level)
|
| Methods inherited from class org.openid4java.message.pape.PapeMessage |
|---|
addAuthLevelExtension, getCustomAuthLevelAlias, getExtension, getParameter, getParameters, getParameterValue, getTypeUri, hasCustomAuthLevel, hasParameter, providesIdentifier, set, setParameters, signRequired |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.util.List PAPE_FIELDS
| Constructor Detail |
|---|
protected PapeResponse()
protected PapeResponse(ParameterList params)
The parameter list can be extracted from a received message with the
getExtensionParams method of the Message class, and MUST NOT contain
the "openid.
| Method Detail |
|---|
public static PapeResponse createPapeResponse()
public static PapeResponse createPapeResponse(ParameterList params)
throws MessageException
MessageExceptionpublic java.lang.String getAuthPolicies()
public void setAuthPolicies(java.lang.String policyUris)
policyUris - Space separated list of authentication policy
URIs to be set.addAuthPolicy(String)public void addAuthPolicy(java.lang.String policyUri)
policyUri - The authentication policy URI to be set.setAuthPolicies(String)public java.util.List getAuthPoliciesList()
public void setAuthTime(java.util.Date timestamp)
timestamp - The most recent timestamp when the End User has
actively authenticated to the OP in a manner
fitting the asserted policies.public java.lang.String getAuthTime()
getAuthDate()public java.util.Date getAuthDate()
getAuthTime()
public void setCustomAuthLevel(java.lang.String authLevelTypeUri,
java.lang.String level)
public java.lang.String getCustomAuthLevel(java.lang.String authLevelTypeUri)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||