|
Tsukuyomi OpenID 0.2.0 |
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.sourceforge.tsukuyomi.openid.message.pape.PapeMessage
jp.sourceforge.tsukuyomi.openid.message.pape.PapeRequest
public class PapeRequest
Implements the extension for OpenID Provider Authentication Policy requests.
Message
フィールドの概要 | |
---|---|
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 |
PapeRequest()
Constructs a Pape Request with an empty parameter list. |
protected |
PapeRequest(ParameterList params)
Constructs a PapeRequest from a parameter list. |
メソッドの概要 | |
---|---|
void |
addPreferredAuthPolicy(String policyUri)
Adds an authentication policy URI to the preferred_auth_policies parameter. |
static PapeRequest |
createPapeRequest()
Constructs a Pape Request with an empty parameter list. |
static PapeRequest |
createPapeRequest(ParameterList params)
Constructs a PapeRequest from a parameter list. |
int |
getMaxAuthAge()
Gets the max_auth_age parameter. |
String |
getPreferredAuthPolicies()
Gets the preferred_auth_policies parameter value. |
List<String> |
getPreferredAuthPoliciesList()
Gets a list with the preferred_auth_policies. |
boolean |
isValid()
Checks the validity of the extension. |
void |
setMaxAuthAge(int seconds)
Sets the max_auth_age parameter. |
void |
setPreferredAuthPolicies(String policyUris)
Sets a new value for the preferred_auth_policies parameter. |
クラス 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 |
フィールドの詳細 |
---|
protected static final List<String> PAPE_FIELDS
コンストラクタの詳細 |
---|
protected PapeRequest()
protected PapeRequest(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 PapeRequest createPapeRequest()
public static PapeRequest createPapeRequest(ParameterList params) throws MessageException
The parameter list can be extracted from a received message with the
getExtensionParams method of the Message class, and MUST NOT contain the
"openid.
MessageException
public String getPreferredAuthPolicies()
public void setPreferredAuthPolicies(String policyUris)
policyUris
- Space separated list of authentication policy URIs to be set.addPreferredAuthPolicy(String)
public void addPreferredAuthPolicy(String policyUri)
policyUri
- The authentication policy URI to be set.setPreferredAuthPolicies(String)
public List<String> getPreferredAuthPoliciesList()
public void setMaxAuthAge(int seconds)
seconds
- The number of seconds within which the OP is requested to have
actively authenticated the user.public int getMaxAuthAge()
public boolean isValid()
Used when constructing a extension from a parameter list.
|
Tsukuyomi OpenID 0.2.0 |
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |