Class AssertionImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xmlsec.signature.AbstractSignableXMLObject
org.opensaml.saml.common.AbstractSignableSAMLObject
org.opensaml.saml.saml2.core.impl.AssertionImpl
- All Implemented Interfaces:
XMLObject,SAMLObject,SignableSAMLObject,Assertion,Evidentiary,SignableXMLObject
A concrete implementation of
Assertion.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AdviceAdvice of the assertion.private ConditionsConditions of the assertion.private StringID of the assertion.private InstantIssue Instant of the assertion.private IssuerIssuer of the assertion.private final IndexedXMLObjectChildrenList<Statement>Statements of the assertion.private SubjectSubject of the assertion.private SAMLVersionSAML Version of the assertion.Fields inherited from interface org.opensaml.saml.saml2.core.Assertion
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, ID_ATTRIB_NAME, ISSUE_INSTANT_ATTRIB_NAME, ISSUEINSTANT_ATTRIB_QNAME, TYPE_LOCAL_NAME, TYPE_NAME, VERSION_ATTRIB_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAssertionImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the Advice for this assertion.Gets the list of AttributeStatement attached to this assertion.Gets the list of AuthnStatements attached to this assertion.Gets the list of AuthzDecisionStatements attached to this assertion.Gets the Conditions placed on this assertion.getID()Sets the ID of this assertion.Gets the issue instance of this assertion.Gets the Issuer of this assertion.Gets an unmodifiable list of child elements in the order that they will appear in the DOM.Gets the value of the ID attribute for this SAML object which will be used as its signature reference.Gets the list of statements attached to this assertion.getStatements(QName typeOrName) Gets the list of statements attached to this assertion that match a particular QName.Gets the Subject of this assertion.Gets the SAML Version of this assertion.voidSets the Advice for this assertion.voidsetConditions(Conditions newConditions) Sets the Conditions placed on this assertion.voidSets the ID of this assertion.voidsetIssueInstant(Instant newIssueInstance) Sets the issue instance of this assertion.voidSets the Issuer of this assertion.voidsetSubject(Subject newSubject) Sets the Subject of this assertion.voidsetVersion(SAMLVersion newVersion) Sets the SAML Version of this assertion.Methods inherited from class org.opensaml.saml.common.AbstractSignableSAMLObject
equals, hashCode, setSignatureMethods inherited from class org.opensaml.xmlsec.signature.AbstractSignableXMLObject
getSignature, isSignedMethods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, ensureDOM, 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, setSchemaTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.xmlsec.signature.SignableXMLObject
getSignature, isSigned, setSignatureMethods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
version
SAML Version of the assertion. -
issueInstant
Issue Instant of the assertion. -
id
ID of the assertion. -
issuer
Issuer of the assertion. -
subject
Subject of the assertion. -
conditions
Conditions of the assertion. -
advice
Advice of the assertion. -
statements
Statements of the assertion.
-
-
Constructor Details
-
AssertionImpl
protected AssertionImpl(@Nullable String namespaceURI, @Nonnull String elementLocalName, @Nullable String namespacePrefix) Constructor.- Parameters:
namespaceURI- the namespace the element is inelementLocalName- the local name of the XML element this Object representsnamespacePrefix- the prefix for the given namespace
-
-
Method Details
-
getVersion
Gets the SAML Version of this assertion.- Specified by:
getVersionin interfaceAssertion- Returns:
- the SAML Version of this assertion.
-
setVersion
Sets the SAML Version of this assertion.- Specified by:
setVersionin interfaceAssertion- Parameters:
newVersion- the SAML Version of this assertion
-
getIssueInstant
Gets the issue instance of this assertion.- Specified by:
getIssueInstantin interfaceAssertion- Returns:
- the issue instance of this assertion
-
setIssueInstant
Sets the issue instance of this assertion.- Specified by:
setIssueInstantin interfaceAssertion- Parameters:
newIssueInstance- the issue instance of this assertion
-
getID
Sets the ID of this assertion. -
setID
Sets the ID of this assertion. -
getIssuer
Gets the Issuer of this assertion. -
setIssuer
Sets the Issuer of this assertion. -
getSubject
Gets the Subject of this assertion.- Specified by:
getSubjectin interfaceAssertion- Returns:
- the Subject of this assertion
-
setSubject
Sets the Subject of this assertion.- Specified by:
setSubjectin interfaceAssertion- Parameters:
newSubject- the Subject of this assertion
-
getConditions
Gets the Conditions placed on this assertion.- Specified by:
getConditionsin interfaceAssertion- Returns:
- the Conditions placed on this assertion
-
setConditions
Sets the Conditions placed on this assertion.- Specified by:
setConditionsin interfaceAssertion- Parameters:
newConditions- the Conditions placed on this assertion
-
getAdvice
Gets the Advice for this assertion. -
setAdvice
Sets the Advice for this assertion. -
getStatements
Gets the list of statements attached to this assertion.- Specified by:
getStatementsin interfaceAssertion- Returns:
- the list of statements attached to this assertion
-
getStatements
Gets the list of statements attached to this assertion that match a particular QName.- Specified by:
getStatementsin interfaceAssertion- Parameters:
typeOrName- the QName of the statements to return- Returns:
- the list of statements attached to this assertion
-
getAuthnStatements
Gets the list of AuthnStatements attached to this assertion.- Specified by:
getAuthnStatementsin interfaceAssertion- Returns:
- the list of AuthnStatements attached to this assertion
-
getAuthzDecisionStatements
Gets the list of AuthzDecisionStatements attached to this assertion.- Specified by:
getAuthzDecisionStatementsin interfaceAssertion- Returns:
- the list of AuthzDecisionStatements attached to this assertion
-
getAttributeStatements
Gets the list of AttributeStatement attached to this assertion.- Specified by:
getAttributeStatementsin interfaceAssertion- Returns:
- the list of AttributeStatement attached to this assertion
-
getSignatureReferenceID
Gets the value of the ID attribute for this SAML object which will be used as its signature reference.- Specified by:
getSignatureReferenceIDin interfaceSignableSAMLObject- Returns:
- the value of this SAMLObject ID attribute
-
getOrderedChildren
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildrenin interfaceXMLObject- Returns:
- ordered list of child elements
-