| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | 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 AssertionHandleof the artifact. | 
|  java.lang.String | getSourceID()Returns the SourceIDof the artifact. | 
|  byte[] | getTypeCode()Gets the typeCodeof the artifact. | 
|  java.lang.String | toString()Translates the AssertionArtifactto 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.ObjectAssertionArtifact.
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: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||