|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.identity.saml.protocol.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.
Constructor Summary | |
AssertionArtifact(java.lang.String theArtifact)
This constructor is used to construct an assertion artifact. |
|
AssertionArtifact(java.lang.String id,
java.lang.String handle)
This constructor will be used at the sender side to create a new AssertionArtifact . |
Method Summary | |
java.lang.String |
getAssertionArtifact()
Gets the artifact. |
java.lang.String |
getAssertionHandle()
Gets the AssertionHandle of the artifact. |
java.lang.String |
getSourceID()
Returns the SourceID of the artifact. |
byte[] |
getTypeCode()
Gets the typeCode of the artifact. |
java.lang.String |
toString()
Translates the AssertionArtifact to an XML document String
based on the SAML schema. |
java.lang.String |
toString(boolean includeNS,
boolean declareNS)
Creates a String representation of the <samlp:AssertionArtifact> element. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AssertionArtifact(java.lang.String theArtifact) throws SAMLException
theArtifact
- is the string that is generated by a provider.
SAMLException
- if an error occurs.public AssertionArtifact(java.lang.String id, java.lang.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.Method Detail |
public java.lang.String getAssertionArtifact()
public java.lang.String getSourceID()
SourceID
of the artifact.
SourceID
of the artifact.public java.lang.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 java.lang.String toString()
AssertionArtifact
to an XML document String
based on the SAML schema.
toString
in class java.lang.Object
AssertionArtifact
.public java.lang.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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |