Class FSAssertionArtifact
- java.lang.Object
-
- com.sun.identity.saml.protocol.AssertionArtifact
-
- com.sun.identity.federation.message.FSAssertionArtifact
-
@Deprecated public class FSAssertionArtifact extends AssertionArtifact
Deprecated.since 12.0.0This class represents theAssertionArtifactelement in theSAMLprotocol schema. Current implementation supports TYPE 1 artifact only. Other type of artifact can be supported by extending this class.
-
-
Field Summary
Fields Modifier and Type Field Description static intARTIFACT_1_LENGTHDeprecated.Default Artifact lengthstatic byte[]ARTIFACT_1_TYPE_CODEDeprecated.Default Artifact Type Code Byte Arraystatic byteARTIFACT_1_TYPE_CODE_0Deprecated.Default Artifact Type Code 0 Constantstatic byteARTIFACT_1_TYPE_CODE_1Deprecated.Default Artifact Type Code 1 Constant-
Fields inherited from class com.sun.identity.saml.protocol.AssertionArtifact
artifact, assertionHandle, sourceID, typeCode
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFSAssertionArtifact()Deprecated.Default Constructor.FSAssertionArtifact(byte[] idBytes, byte[] handleBytes)Deprecated.Constructor to createFSAssertionArtifactobject.FSAssertionArtifact(String theArtifact)Deprecated.Constructor to createAssertionArtifactobject.
-
Method Summary
-
Methods inherited from class com.sun.identity.saml.protocol.AssertionArtifact
getAssertionArtifact, getAssertionHandle, getSourceID, getTypeCode, toString, toString
-
-
-
-
Field Detail
-
ARTIFACT_1_LENGTH
public static final int ARTIFACT_1_LENGTH
Deprecated.Default Artifact length- See Also:
- Constant Field Values
-
ARTIFACT_1_TYPE_CODE_0
public static final byte ARTIFACT_1_TYPE_CODE_0
Deprecated.Default Artifact Type Code 0 Constant- See Also:
- Constant Field Values
-
ARTIFACT_1_TYPE_CODE_1
public static final byte ARTIFACT_1_TYPE_CODE_1
Deprecated.Default Artifact Type Code 1 Constant- See Also:
- Constant Field Values
-
ARTIFACT_1_TYPE_CODE
public static final byte[] ARTIFACT_1_TYPE_CODE
Deprecated.Default Artifact Type Code Byte Array
-
-
Constructor Detail
-
FSAssertionArtifact
protected FSAssertionArtifact()
Deprecated.Default Constructor.
-
FSAssertionArtifact
public FSAssertionArtifact(String theArtifact) throws FSMsgException
Deprecated.Constructor to createAssertionArtifactobject.- Parameters:
theArtifact- is the string that is generated by a provider.- Throws:
SAMLException- if there is an error decoding the artifact string , the length of the artifact string is incorrect , theTYPE CODEin the artifact or other errors which prevent creation of this object.FSMsgException
-
FSAssertionArtifact
public FSAssertionArtifact(byte[] idBytes, byte[] handleBytes) throws FSMsgExceptionDeprecated.Constructor to createFSAssertionArtifactobject.- Parameters:
idBytes- the source identifier in theAssertionhandleBytes- the assertion identifier- Throws:
SAMLException- if wrong input or couldn't encode the artifact.FSMsgException
-
-