|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectcom.sun.identity.saml.protocol.AssertionArtifact
public class AssertionArtifact
This class represents the AssertionArtifact element in
SAML protocol schema. Current implementation supports TYPE 1 artifact only.
Other type of artifact can be supported by extending this class.
| フィールドの概要 | |
|---|---|
protected String |
artifact
This value specifies the assertion artifact as a string. |
protected String |
assertionHandle
|
protected String |
sourceID
|
protected byte[] |
typeCode
|
| コンストラクタの概要 | |
|---|---|
protected |
AssertionArtifact()
This is the default constructor of assertion artifact. |
|
AssertionArtifact(String theArtifact)
This constructor is used to construct an assertion artifact. |
|
AssertionArtifact(String id,
String handle)
This constructor will be used at the sender side to create a new AssertionArtifact. |
| メソッドの概要 | |
|---|---|
String |
getAssertionArtifact()
Gets the artifact. |
String |
getAssertionHandle()
Gets the AssertionHandle of the artifact. |
String |
getSourceID()
Returns the SourceID of the artifact. |
byte[] |
getTypeCode()
Gets the typeCode of the artifact. |
String |
toString()
Translates the AssertionArtifact to an XML document String
based on the SAML schema. |
String |
toString(boolean includeNS,
boolean declareNS)
Creates a String representation of the <samlp:AssertionArtifact> element. |
| フィールドの詳細 |
|---|
protected String artifact
protected String assertionHandle
protected String sourceID
protected byte[] typeCode
| コンストラクタの詳細 |
|---|
protected AssertionArtifact()
public AssertionArtifact(String theArtifact)
throws SAMLException
theArtifact - is the string that is generated by a provider.
SAMLException - if an error occurs.
public AssertionArtifact(String id,
String handle)
throws SAMLException
AssertionArtifact.
id - A string that represents the sourceID.handle - A string that represents the assertionHandle.
SAMLException - if wrong input or could not encode the artifact.| メソッドの詳細 |
|---|
public String getAssertionArtifact()
public String getSourceID()
SourceID of the artifact.
SourceID of the artifact.public String getAssertionHandle()
AssertionHandle of the artifact. The result will be
decoded.
AssertionHandle of the artifact.public byte[] getTypeCode()
typeCode of the artifact.
TypeCode for the artifact.public String toString()
AssertionArtifact to an XML document String
based on the SAML schema.
Object 内の toStringAssertionArtifact.
public String toString(boolean includeNS,
boolean declareNS)
<samlp:AssertionArtifact> element.
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.
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||