Package com.sun.identity.saml2.protocol
Interface Artifact
-
- All Known Implementing Classes:
ArtifactImpl
public interface ArtifactThis class represents theArtifactelement in SAMLv2 protocol schema.<element name="Artifact" type="{http://www.w3.org/2001/XMLSchema}string"/>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetArtifactValue()Returns the artifact.intgetEndpointIndex()Returns theEndpointIndexof the artifact.StringgetMessageHandle()Returns theMessageHandleof the artifact.StringgetSourceID()Returns theSourceIDof the artifact.byte[]getTypeCode()Returns theTypeCodeof the artifact.StringtoXMLString()Returns a String representation of the element.StringtoXMLString(boolean includeNS, boolean declareNS)Returns a String representation of the element.
-
-
-
Method Detail
-
getArtifactValue
String getArtifactValue()
Returns the artifact.- Returns:
- the value of the artifact. It's
Base64encoded.
-
getSourceID
String getSourceID()
Returns theSourceIDof the artifact.- Returns:
- The
SourceIDof the artifact.
-
getMessageHandle
String getMessageHandle()
Returns theMessageHandleof the artifact. The result will be decoded.- Returns:
- The
MessageHandleof the artifact.
-
getTypeCode
byte[] getTypeCode()
Returns theTypeCodeof the artifact.- Returns:
- The byte array of the
TypeCodefor the artifact.
-
getEndpointIndex
int getEndpointIndex()
Returns theEndpointIndexof the artifact.- Returns:
- value of the
EndpointIndexfor the artifact.
-
toXMLString
String toXMLString() throws SAML2Exception
Returns a String representation of the element.- Returns:
- A string containing the valid XML for this element. By default name space name is prepended to the element name.
- Throws:
SAML2Exception- if the object does not conform to the schema.
-
toXMLString
String toXMLString(boolean includeNS, boolean declareNS) throws SAML2Exception
Returns a String representation of the element.- Parameters:
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.- Returns:
- A string containing the valid XML for this element
- Throws:
SAML2Exception- if the object does not conform to the schema.
-
-