gov.virginia.dcjs.identity.saml
Class Assertion

java.lang.Object
  extended bygov.virginia.dcjs.ws.Element
      extended bygov.virginia.dcjs.identity.saml.Assertion
All Implemented Interfaces:
AssertionType, org.apache.soap.util.xml.Serializer, XmlElement

public class Assertion
extends Element
implements AssertionType

This class contains the basic information that is common to all assertions. * NOTE:
* Assertions that contain an AttributeStatement MUST have * a Subject element as well.


Constructor Summary
Assertion(Issuer issuer)
           
 
Method Summary
 void addStatement(StatementAbstractType statement)
           
 java.lang.String getID()
          Obtain the unique ID of this assertion.
 java.lang.String getIssueInstant()
          Obtain the datetime instant this assertion was created.
 void setAdvice(Advice advice)
           
 void setConditons(Conditions conditions)
           
 void setSignature(Signature signature)
           
 void setSubject(Subject subject)
           
 
Methods inherited from class gov.virginia.dcjs.ws.Element
addAttribute, addElement, arrayAppend, declareNamespaces, getNamespaces, marshall, removeAttribute, removeElement, setContent, toString, toXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface gov.virginia.dcjs.ws.XmlElement
declareNamespaces, getNamespaces, toXml
 

Constructor Detail

Assertion

public Assertion(Issuer issuer)
Method Detail

getIssueInstant

public java.lang.String getIssueInstant()
Obtain the datetime instant this assertion was created. * Useful when creating statements like AuthnStatement. * @return UTC datetime of this assertion.


getID

public java.lang.String getID()
Obtain the unique ID of this assertion. * Useful when creating statements like AuthnStatement. * @return Assertion's unique ID.


setSignature

public void setSignature(Signature signature)

setSubject

public void setSubject(Subject subject)

setConditons

public void setConditons(Conditions conditions)

setAdvice

public void setAdvice(Advice advice)

addStatement

public void addStatement(StatementAbstractType statement)