Tsukuyomi OpenID
0.2.0

jp.sourceforge.tsukuyomi.openid.message
クラス AuthSuccess

java.lang.Object
  上位を拡張 jp.sourceforge.tsukuyomi.openid.message.Message
      上位を拡張 jp.sourceforge.tsukuyomi.openid.message.AuthSuccess
直系の既知のサブクラス:
VerifyRequest

public class AuthSuccess
extends Message

作成者:
Marius Scurtescu, Johnny Bufu

フィールドの概要
protected  List<String> _signExtensions
           
protected  List<String> _signFields
           
protected static List<String> OPTIONAL_FIELDS
           
protected static List<String> REQUIRED_FIELDS
           
protected static String signRequired1
           
protected static String signRequired2
           
protected static String signRequired3
           
 
クラス jp.sourceforge.tsukuyomi.openid.message.Message から継承されたフィールド
destinationUrl, MODE_CANCEL, MODE_IDRES, MODE_SETUP_NEEDED, OPENID2_NS
 
コンストラクタの概要
protected AuthSuccess(ParameterList params)
           
protected AuthSuccess(String opEndpoint, String claimedId, String delegate, boolean compatibility, String returnTo, String nonce, String invalidateHandle, Association assoc, boolean signNow)
           
 
メソッドの概要
 void buildSignedList()
          Builds the list of fields that will be signed.
static AuthSuccess createAuthSuccess(ParameterList params)
           
static AuthSuccess createAuthSuccess(String opEndpoint, String claimedId, String delegate, boolean compatibility, String returnTo, String nonce, String invalidateHandle, Association assoc, boolean signNow)
           
 String getClaimed()
           
 String getHandle()
           
 String getIdentity()
           
 String getInvalidateHandle()
           
 String getMode()
           
 String getNonce()
           
 String getOpEndpoint()
           
 List<String> getRequiredFields()
           
 String getReturnTo()
           
 String getSignature()
           
 String getSignedText()
          Return the text on which the signature is applied.
 List<String> getSignExtensions()
           
 String getSignList()
           
 boolean isValid()
          Check that all required parameters are present
 boolean isVersion2()
           
 void setClaimed(String claimed)
           
 void setHandle(String handle)
           
 void setIdentity(String id)
           
 void setInvalidateHandle(String handle)
           
 void setMode(String mode)
           
 void setNonce(String nonce)
           
 void setOpEndpoint(String opEndpoint)
           
 void setReturnTo(String returnTo)
           
 void setSignature(String sig)
           
 void setSignExtension(String extensionNamespace)
          Sets the list of messages fields that will be signed, in addition to the ones required by the protocol to be signed and any additional fields already configured to be signed.
 void setSignExtensions(String[] extensions)
          Sets the list of messages fields that will be signed, in addition to the ones required by the protocol to be signed and any additional fields already configured to be signed.
 void setSignFields(String userSuppliedList)
          Sets the messages fields that will be signed, in addition to the ones required by the protocol to be signed.
 
クラス jp.sourceforge.tsukuyomi.openid.message.Message から継承されたメソッド
addExtension, addExtensionFactory, createMessage, createMessage, getDestinationUrl, getExtension, getExtensionAlias, getExtensionFactory, getExtensions, getParameter, getParameterMap, getParameters, getParameterValue, hasExtension, hasExtensionFactory, hasParameter, keyValueFormEncoding, set, wwwFormEncoding
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

REQUIRED_FIELDS

protected static final List<String> REQUIRED_FIELDS

OPTIONAL_FIELDS

protected static final List<String> OPTIONAL_FIELDS

signRequired1

protected static final String signRequired1
関連項目:
定数フィールド値

signRequired2

protected static final String signRequired2
関連項目:
定数フィールド値

signRequired3

protected static final String signRequired3
関連項目:
定数フィールド値

_signFields

protected List<String> _signFields

_signExtensions

protected List<String> _signExtensions
コンストラクタの詳細

AuthSuccess

protected AuthSuccess(String opEndpoint,
                      String claimedId,
                      String delegate,
                      boolean compatibility,
                      String returnTo,
                      String nonce,
                      String invalidateHandle,
                      Association assoc,
                      boolean signNow)
               throws AssociationException
例外:
AssociationException

AuthSuccess

protected AuthSuccess(ParameterList params)
メソッドの詳細

createAuthSuccess

public static AuthSuccess createAuthSuccess(String opEndpoint,
                                            String claimedId,
                                            String delegate,
                                            boolean compatibility,
                                            String returnTo,
                                            String nonce,
                                            String invalidateHandle,
                                            Association assoc,
                                            boolean signNow)
                                     throws MessageException,
                                            AssociationException
例外:
MessageException
AssociationException

createAuthSuccess

public static AuthSuccess createAuthSuccess(ParameterList params)
                                     throws MessageException
例外:
MessageException

getRequiredFields

public List<String> getRequiredFields()
オーバーライド:
クラス Message 内の getRequiredFields

isVersion2

public boolean isVersion2()

setMode

public void setMode(String mode)
             throws MessageException
例外:
MessageException

getMode

public String getMode()

setOpEndpoint

public void setOpEndpoint(String opEndpoint)

getOpEndpoint

public String getOpEndpoint()

setIdentity

public void setIdentity(String id)

getIdentity

public String getIdentity()
                   throws DiscoveryException
例外:
DiscoveryException

setClaimed

public void setClaimed(String claimed)

getClaimed

public String getClaimed()

setReturnTo

public void setReturnTo(String returnTo)

getReturnTo

public String getReturnTo()

setNonce

public void setNonce(String nonce)

getNonce

public String getNonce()

setInvalidateHandle

public void setInvalidateHandle(String handle)

getInvalidateHandle

public String getInvalidateHandle()

setHandle

public void setHandle(String handle)

getHandle

public String getHandle()

buildSignedList

public void buildSignedList()
Builds the list of fields that will be signed. Three input sources are considered for this:

This method should be called after any field additions/deletions to/from the message.


setSignFields

public void setSignFields(String userSuppliedList)
Sets the messages fields that will be signed, in addition to the ones required by the protocol to be signed. The OpenID signature will only be applied to OpenID fields, starting with the "openid." prefix.

パラメータ:
userSuppliedList - Comma-separated list of fields to be signed, without the "openid." prefix
関連項目:
setSignExtensions(String[])

setSignExtensions

public void setSignExtensions(String[] extensions)
Sets the list of messages fields that will be signed, in addition to the ones required by the protocol to be signed and any additional fields already configured to be signed. The OpenID signature will only be applied to OpenID fields, starting with the "openid." prefix. Should be called after all relevant extension fields have been added to the message.

パラメータ:
extensions - Array of extension namespace URIs to be signed.
関連項目:
#setSignExtension

setSignExtension

public void setSignExtension(String extensionNamespace)
Sets the list of messages fields that will be signed, in addition to the ones required by the protocol to be signed and any additional fields already configured to be signed. The OpenID signature will only be applied to OpenID fields, starting with the "openid." prefix. Should be called after all relevant extension fields have been added to the message.

パラメータ:
extensionNamespace - Extension namespace URI to be signed.
関連項目:
#setSignExtensions

getSignExtensions

public List<String> getSignExtensions()

setSignature

public void setSignature(String sig)

getSignature

public String getSignature()

getSignList

public String getSignList()

getSignedText

public String getSignedText()
Return the text on which the signature is applied.


isValid

public boolean isValid()
クラス Message の記述:
Check that all required parameters are present

オーバーライド:
クラス Message 内の isValid

Tsukuyomi OpenID
0.2.0

Copyright © 2008 Project Tsukuyomi. All Rights Reserved.