|
Tsukuyomi OpenID 0.2.0 |
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.sourceforge.tsukuyomi.openid.message.pape.PapeMessage
jp.sourceforge.tsukuyomi.openid.message.pape.PapeResponse
public class PapeResponse
Implements the extension for OpenID Provider Authentication Policy responses.
フィールドの概要 | |
---|---|
static String |
AUTH_AGE_UNKNOWN
|
protected static List<String> |
PAPE_FIELDS
|
クラス jp.sourceforge.tsukuyomi.openid.message.pape.PapeMessage から継承されたフィールド |
---|
OPENID_NS_PAPE, PAPE_POLICY_MULTI_FACTOR, PAPE_POLICY_MULTI_FACTOR_PHYSICAL, PAPE_POLICY_PHISHING_RESISTANT, parameters |
コンストラクタの概要 | |
---|---|
protected |
PapeResponse()
Constructs a Pape Response with an empty parameter list. |
protected |
PapeResponse(ParameterList params)
Constructs a Pape Response from a parameter list. |
メソッドの概要 | |
---|---|
void |
addAuthPolicy(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)
|
int |
getAuthAge()
Gets the value of the auth_age parameter. |
String |
getAuthPolicies()
Gets the auth_policies parameter value. |
List<String> |
getAuthPoliciesList()
Gets a list with the auth_policies. |
int |
getNistAuthLevel()
Gets the value of the nist_auth_level parameter. |
void |
setAuthAge(int seconds)
Sets the auth_age parameter. |
void |
setAuthPolicies(String policyUris)
Sets a new value for the auth_policies parameter. |
void |
setNistAuthLevel(int level)
|
クラス jp.sourceforge.tsukuyomi.openid.message.pape.PapeMessage から継承されたメソッド |
---|
getExtension, getParameter, getParameters, getParameterValue, getTypeUri, hasParameter, providesIdentifier, set, setParameters |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
public static final String AUTH_AGE_UNKNOWN
protected static final List<String> PAPE_FIELDS
コンストラクタの詳細 |
---|
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.
メソッドの詳細 |
---|
public static PapeResponse createPapeResponse()
public static PapeResponse createPapeResponse(ParameterList params) throws MessageException
MessageException
public String getAuthPolicies()
public void setAuthPolicies(String policyUris)
policyUris
- Space separated list of authentication policy URIs to be set.addAuthPolicy(String)
public void addAuthPolicy(String policyUri)
policyUri
- The authentication policy URI to be set.setAuthPolicies(String)
public List<String> getAuthPoliciesList()
public void setAuthAge(int seconds)
seconds
- The number of seconds since the user was actively
authenticated by the OP, or -1 if the auth_age is unknown.public int getAuthAge()
public int getNistAuthLevel()
NIST levels are integers between 1 and 4 inclusive. Level 0 is used to signify that the OP recognizes the parameter and the user authentication did not meet the requirements of Level 1.
public void setNistAuthLevel(int level) throws MessageException
MessageException
|
Tsukuyomi OpenID 0.2.0 |
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |