com.sun.identity.federation.message
Class FSAssertionArtifact

java.lang.Object
  extended bycom.sun.identity.saml.protocol.AssertionArtifact
      extended bycom.sun.identity.federation.message.FSAssertionArtifact

public class FSAssertionArtifact
extends 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
FSAssertionArtifact(byte[] idBytes, byte[] handleBytes)
          This constructor will be used at the sender side to create a new FSAssertionArtifact.
FSAssertionArtifact(java.lang.String theArtifact)
          This constructor is used to construct an assertion artifact.
 
Methods inherited from class com.sun.identity.saml.protocol.AssertionArtifact
getAssertionArtifact, getAssertionHandle, getSourceID, getTypeCode, toString, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FSAssertionArtifact

public FSAssertionArtifact(java.lang.String theArtifact)
                    throws FSMsgException
This constructor is used to construct an assertion artifact.

Parameters:
theArtifact - artifact string that is generated by a provider.
Throws:
FSMsgException - if an error occurs.

FSAssertionArtifact

public FSAssertionArtifact(byte[] idBytes,
                           byte[] handleBytes)
                    throws FSMsgException
This constructor will be used at the sender side to create a new FSAssertionArtifact.

Parameters:
idBytes - Byte array that represents the sourceID.
handleBytes - Byte array that represents the assertionHandle.
Throws:
FSMsgException - if wrong input or couldn't encode the artifact.


Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.