public class AssertionImpl extends AbstractSignableSAMLObject implements Assertion
Assertion.| Modifier and Type | Field and Description |
|---|---|
private Advice |
advice
Advice of the assertion.
|
private Conditions |
conditions
Conditions of the assertion.
|
private java.lang.String |
id
ID of the assertion.
|
private org.joda.time.DateTime |
issueInstant
Issue Instant of the assertion.
|
private Issuer |
issuer
Issuer of the assertion.
|
private IndexedXMLObjectChildrenList<Statement> |
statements
Statements of the assertion.
|
private Subject |
subject
Subject of the assertion.
|
private SAMLVersion |
version
SAML Version of the assertion.
|
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, ID_ATTRIB_NAME, ISSUE_INSTANT_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME, VERSION_ATTRIB_NAME| Modifier | Constructor and Description |
|---|---|
protected |
AssertionImpl(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.String namespacePrefix)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Advice |
getAdvice()
Gets the Advice for this assertion.
|
java.util.List<AttributeStatement> |
getAttributeStatements()
Gets the list of AttributeStatement attached to this assertion.
|
java.util.List<AuthnStatement> |
getAuthnStatements()
Gets the list of AuthnStatements attached to this assertion.
|
java.util.List<AuthzDecisionStatement> |
getAuthzDecisionStatements()
Gets the list of AuthzDecisionStatements attached to this assertion.
|
Conditions |
getConditions()
Gets the Conditions placed on this assertion.
|
java.lang.String |
getID()
Sets the ID of this assertion.
|
org.joda.time.DateTime |
getIssueInstant()
Gets the issue instance of this assertion.
|
Issuer |
getIssuer()
Gets the Issuer of this assertion.
|
java.util.List<XMLObject> |
getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
java.lang.String |
getSignatureReferenceID()
Gets the value of the ID attribute for this SAML object which will be used as its signature reference.
|
java.util.List<Statement> |
getStatements()
Gets the list of statements attached to this assertion.
|
java.util.List<Statement> |
getStatements(javax.xml.namespace.QName typeOrName)
Gets the list of statements attached to this assertion that match a particular QName.
|
Subject |
getSubject()
Gets the Subject of this assertion.
|
SAMLVersion |
getVersion()
Gets the SAML Version of this assertion.
|
void |
setAdvice(Advice newAdvice)
Sets the Advice for this assertion.
|
void |
setConditions(Conditions newConditions)
Sets the Conditions placed on this assertion.
|
void |
setID(java.lang.String newID)
Sets the ID of this assertion.
|
void |
setIssueInstant(org.joda.time.DateTime newIssueInstance)
Sets the issue instance of this assertion.
|
void |
setIssuer(Issuer newIssuer)
Sets the Issuer of this assertion.
|
void |
setSubject(Subject newSubject)
Sets the Subject of this assertion.
|
void |
setVersion(SAMLVersion newVersion)
Sets the SAML Version of this assertion.
|
equals, hashCode, prepareForAssignment, setSignaturegetSignature, isSigneddetach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaTypeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetSignature, isSigned, setSignaturedetach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocationprivate SAMLVersion version
private org.joda.time.DateTime issueInstant
private java.lang.String id
private Issuer issuer
private Subject subject
private Conditions conditions
private Advice advice
private final IndexedXMLObjectChildrenList<Statement> statements
protected AssertionImpl(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.String namespacePrefix)
namespaceURI - the namespace the element is inelementLocalName - the local name of the XML element this Object representsnamespacePrefix - the prefix for the given namespacepublic SAMLVersion getVersion()
getVersion in interface Assertionpublic void setVersion(SAMLVersion newVersion)
setVersion in interface AssertionnewVersion - the SAML Version of this assertionpublic org.joda.time.DateTime getIssueInstant()
getIssueInstant in interface Assertionpublic void setIssueInstant(org.joda.time.DateTime newIssueInstance)
setIssueInstant in interface AssertionnewIssueInstance - the issue instance of this assertionpublic java.lang.String getID()
public void setID(java.lang.String newID)
public Issuer getIssuer()
public void setIssuer(Issuer newIssuer)
public Subject getSubject()
getSubject in interface Assertionpublic void setSubject(Subject newSubject)
setSubject in interface AssertionnewSubject - the Subject of this assertionpublic Conditions getConditions()
getConditions in interface Assertionpublic void setConditions(Conditions newConditions)
setConditions in interface AssertionnewConditions - the Conditions placed on this assertionpublic Advice getAdvice()
public void setAdvice(Advice newAdvice)
public java.util.List<Statement> getStatements()
getStatements in interface Assertionpublic java.util.List<Statement> getStatements(javax.xml.namespace.QName typeOrName)
getStatements in interface AssertiontypeOrName - the QName of the statements to returnpublic java.util.List<AuthnStatement> getAuthnStatements()
getAuthnStatements in interface Assertionpublic java.util.List<AuthzDecisionStatement> getAuthzDecisionStatements()
getAuthzDecisionStatements in interface Assertionpublic java.util.List<AttributeStatement> getAttributeStatements()
getAttributeStatements in interface Assertionpublic java.lang.String getSignatureReferenceID()
getSignatureReferenceID in interface SignableSAMLObjectpublic java.util.List<XMLObject> getOrderedChildren()
getOrderedChildren in interface XMLObject