Package org.opensaml.saml.saml2.core
Interface Assertion
- All Superinterfaces:
Evidentiary,SAMLObject,SignableSAMLObject,SignableXMLObject,XMLObject
- All Known Implementing Classes:
AssertionImpl
SAML 2.0 Core Assertion.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringElement local name.static final QNameDefault element name.static final StringID attribute name.static final StringIssueInstant attribute name.static final QNameIssueInstant attribute QName.static final StringLocal name of the XSI type.static final QNameQName of the XSI type.static final StringVersion attribute name. -
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 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 interface org.opensaml.saml.common.SignableSAMLObject
getSignatureReferenceIDMethods 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, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
DEFAULT_ELEMENT_LOCAL_NAME
Element local name.- See Also:
-
DEFAULT_ELEMENT_NAME
Default element name. -
TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
-
TYPE_NAME
QName of the XSI type. -
VERSION_ATTRIB_NAME
Version attribute name.- See Also:
-
ISSUE_INSTANT_ATTRIB_NAME
IssueInstant attribute name.- See Also:
-
ISSUEINSTANT_ATTRIB_QNAME
IssueInstant attribute QName. -
ID_ATTRIB_NAME
ID attribute name.- See Also:
-
-
Method Details
-
getVersion
Gets the SAML Version of this assertion.- Returns:
- the SAML Version of this assertion.
-
setVersion
Sets the SAML Version of this assertion.- Parameters:
newVersion- the SAML Version of this assertion
-
getIssueInstant
Gets the issue instance of this assertion.- Returns:
- the issue instance of this assertion
-
setIssueInstant
Sets the issue instance of this assertion.- Parameters:
newIssueInstance- the issue instance of this assertion
-
getID
Sets the ID of this assertion.- Returns:
- the ID of this assertion
-
setID
Sets the ID of this assertion.- Parameters:
newID- the ID of this assertion
-
getIssuer
Gets the Issuer of this assertion.- Returns:
- the Issuer of this assertion
-
setIssuer
Sets the Issuer of this assertion.- Parameters:
newIssuer- the Issuer of this assertion
-
getSubject
Gets the Subject of this assertion.- Returns:
- the Subject of this assertion
-
setSubject
Sets the Subject of this assertion.- Parameters:
newSubject- the Subject of this assertion
-
getConditions
Gets the Conditions placed on this assertion.- Returns:
- the Conditions placed on this assertion
-
setConditions
Sets the Conditions placed on this assertion.- Parameters:
newConditions- the Conditions placed on this assertion
-
getAdvice
Gets the Advice for this assertion.- Returns:
- the Advice for this assertion
-
setAdvice
Sets the Advice for this assertion.- Parameters:
newAdvice- the Advice for this assertion
-
getStatements
Gets the list of statements attached to this assertion.- Returns:
- the list of statements attached to this assertion
-
getStatements
Gets the list of statements attached to this assertion that match a particular QName.- 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.- Returns:
- the list of AuthnStatements attached to this assertion
-
getAuthzDecisionStatements
Gets the list of AuthzDecisionStatements attached to this assertion.- Returns:
- the list of AuthzDecisionStatements attached to this assertion
-
getAttributeStatements
Gets the list of AttributeStatement attached to this assertion.- Returns:
- the list of AttributeStatement attached to this assertion
-