gov.virginia.dcjs.identity.saml
Class Assertion
java.lang.Object
gov.virginia.dcjs.ws.Element
gov.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.
| 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 |
Assertion
public Assertion(Issuer issuer)
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)