|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectcom.sun.identity.saml.protocol.AbstractResponse
com.sun.identity.saml.protocol.Response
com.sun.identity.federation.message.FSResponse
public class FSResponse
This class contains methods for creating a Liberty Response.
| フィールドの概要 | |
|---|---|
protected String |
id
|
| クラス com.sun.identity.saml.protocol.Response から継承されたフィールド |
|---|
assertions, issuer, signatureString, status, xmlString |
| クラス com.sun.identity.saml.protocol.AbstractResponse から継承されたフィールド |
|---|
inResponseTo, issueInstant, majorVersion, minorVersion, recipient, responseID, signature, signed, valid, validationDone |
| コンストラクタの概要 | |
|---|---|
FSResponse(Element root)
Constructor creates FSResponse object form
a Document Element. |
|
FSResponse(String responseID,
String inResponseTo,
Status status,
List contents)
Constructor creates FSResponse object. |
|
| メソッドの概要 | |
|---|---|
String |
getID()
Returns the value of id attribute. |
int |
getMinorVersion()
Returns the MinorVersion. |
String |
getSignatureString()
Returns the signed XML string. |
static FSResponse |
parseBASE64EncodedString(String encodedRes)
Returns FSResponse object. |
static FSResponse |
parseResponseXML(String xml)
|
void |
setID(String id)
Sets the value of id attribute. |
void |
setMinorVersion(int version)
Sets the MinorVersion. |
void |
signXML()
Unsupported operation. |
void |
signXML(String certAlias)
Signs the Response. |
String |
toBASE64EncodedString()
Returns a Base64 Encoded String. |
String |
toXMLString()
Returns a String representation of the Logout Response. |
String |
toXMLString(boolean includeNS,
boolean declareNS)
Returns a String representation of the Logout Response. |
String |
toXMLString(boolean includeNS,
boolean declareNS,
boolean includeHeader)
|
| クラス com.sun.identity.saml.protocol.Response から継承されたメソッド |
|---|
addAssertion, getAssertion, getStatus, isSignatureValid, parseXML, parseXML, setSignature, setStatus, toString, toString, toString |
| クラス com.sun.identity.saml.protocol.AbstractResponse から継承されたメソッド |
|---|
getInResponseTo, getIssueInstant, getMajorVersion, getRecipient, getResponseID, getSignature, isSigned, setInResponseTo, setIssueInstant, setMajorVersion, setRecipient, setResponseID |
| フィールドの詳細 |
|---|
protected String id
| コンストラクタの詳細 |
|---|
public FSResponse(String responseID,
String inResponseTo,
Status status,
List contents)
throws SAMLException,
FSMsgException
FSResponse object.
responseID - value of ResponseId attribute.inResponseTo - value of inResponseTo attribute.status - the Status object.contents - list containing response elements.
SAMLException - it there is an error creating this object.
FSMsgException - it there is an error creating this object.
public FSResponse(Element root)
throws SAMLException,
FSMsgException
FSResponse object form
a Document Element.
root - the Document Element object.
SAMLException - if there is an error creating this object.
FSMsgException - if there is an error creating this object.| メソッドの詳細 |
|---|
public String getID()
id attribute.
id attribute.FSResponse.setID(String)public void setID(String id)
id attribute.
id - the value of id attribute.FSResponse.getID()public String getSignatureString()
XML string.
XML string.public int getMinorVersion()
MinorVersion.
AbstractResponse 内の getMinorVersionMinorVersion.FSResponse.setMinorVersion(int)public void setMinorVersion(int version)
MinorVersion.
AbstractResponse 内の setMinorVersionversion - the MinorVersion.FSResponse.getMinorVersion()
public static FSResponse parseResponseXML(String xml)
throws SAMLException,
FSMsgException
SAMLException
FSMsgException
public String toXMLString()
throws FSMsgException
FSMsgException - if there is an error converting
this object to a string.
public String toXMLString(boolean includeNS,
boolean declareNS)
throws FSMsgException
includeNS - : Determines whether or not the namespace qualifier
is prepended to the Element when converteddeclareNS - : Determines whether or not the namespace is declared
within the Element.
FSMsgException - if there is an error converting
this object ot a string.
public String toXMLString(boolean includeNS,
boolean declareNS,
boolean includeHeader)
throws FSMsgException
FSMsgException
public static FSResponse parseBASE64EncodedString(String encodedRes)
throws FSMsgException,
SAMLException
FSResponse object. The object
is created by parsing an Base64 encoded response string.
encodedRes - the encoded response string
FSMsgException - if there is an error creating
FSResponse object.
FSMsgException - if there is an error creating
FSResponse object.
SAMLException
public String toBASE64EncodedString()
throws FSMsgException
FSMsgException - if there is an error encoding the string.
public void signXML(String certAlias)
throws SAMLException
certAlias - the Certificate Alias.
XMLSignatureException - if FSAuthnRequest
cannot be signed.
SAMLException
public void signXML()
throws SAMLException
Response 内の signXMLSAMLException - if could not sign the Response.
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||