Class AssertionImpl

  • All Implemented Interfaces:
    org.opensaml.core.xml.XMLObject, org.opensaml.saml.common.SAMLObject, org.opensaml.saml.common.SignableSAMLObject, org.opensaml.saml.saml2.core.Assertion, org.opensaml.saml.saml2.core.Evidentiary, org.opensaml.xmlsec.signature.SignableXMLObject

    public class AssertionImpl
    extends org.opensaml.saml.common.AbstractSignableSAMLObject
    implements org.opensaml.saml.saml2.core.Assertion
    A concrete implementation of Assertion.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.opensaml.saml.saml2.core.Advice advice
      Advice of the assertion.
      private org.opensaml.saml.saml2.core.Conditions conditions
      Conditions of the assertion.
      private String id
      ID of the assertion.
      private Instant issueInstant
      Issue Instant of the assertion.
      private org.opensaml.saml.saml2.core.Issuer issuer
      Issuer of the assertion.
      private org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<org.opensaml.saml.saml2.core.Statement> statements
      Statements of the assertion.
      private org.opensaml.saml.saml2.core.Subject subject
      Subject of the assertion.
      private org.opensaml.saml.common.SAMLVersion version
      SAML 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

      Constructors 
      Modifier Constructor Description
      protected AssertionImpl​(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.opensaml.saml.saml2.core.Advice getAdvice()
      List<org.opensaml.saml.saml2.core.AttributeStatement> getAttributeStatements()
      List<org.opensaml.saml.saml2.core.AuthnStatement> getAuthnStatements()
      List<org.opensaml.saml.saml2.core.AuthzDecisionStatement> getAuthzDecisionStatements()
      org.opensaml.saml.saml2.core.Conditions getConditions()
      String getID()
      Instant getIssueInstant()
      org.opensaml.saml.saml2.core.Issuer getIssuer()
      List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
      String getSignatureReferenceID()
      List<org.opensaml.saml.saml2.core.Statement> getStatements()
      List<org.opensaml.saml.saml2.core.Statement> getStatements​(QName typeOrName)
      org.opensaml.saml.saml2.core.Subject getSubject()
      org.opensaml.saml.common.SAMLVersion getVersion()
      void setAdvice​(org.opensaml.saml.saml2.core.Advice newAdvice)
      void setConditions​(org.opensaml.saml.saml2.core.Conditions newConditions)
      void setID​(String newID)
      void setIssueInstant​(Instant newIssueInstance)
      void setIssuer​(org.opensaml.saml.saml2.core.Issuer newIssuer)
      void setSubject​(org.opensaml.saml.saml2.core.Subject newSubject)
      void setVersion​(org.opensaml.saml.common.SAMLVersion newVersion)
      • Methods inherited from class org.opensaml.saml.common.AbstractSignableSAMLObject

        equals, hashCode, setSignature
      • Methods inherited from class org.opensaml.xmlsec.signature.AbstractSignableXMLObject

        getSignature, isSigned
      • Methods inherited from class org.opensaml.core.xml.AbstractXMLObject

        detach, 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, setSchemaType
      • Methods inherited from interface org.opensaml.xmlsec.signature.SignableXMLObject

        getSignature, isSigned, setSignature
      • Methods inherited from interface org.opensaml.core.xml.XMLObject

        detach, 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 Detail

      • version

        private org.opensaml.saml.common.SAMLVersion version
        SAML Version of the assertion.
      • issueInstant

        private Instant issueInstant
        Issue Instant of the assertion.
      • id

        private String id
        ID of the assertion.
      • issuer

        private org.opensaml.saml.saml2.core.Issuer issuer
        Issuer of the assertion.
      • subject

        private org.opensaml.saml.saml2.core.Subject subject
        Subject of the assertion.
      • conditions

        private org.opensaml.saml.saml2.core.Conditions conditions
        Conditions of the assertion.
      • advice

        private org.opensaml.saml.saml2.core.Advice advice
        Advice of the assertion.
      • statements

        private final org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<org.opensaml.saml.saml2.core.Statement> statements
        Statements of the assertion.
    • Constructor Detail

      • AssertionImpl

        protected AssertionImpl​(String namespaceURI,
                                String elementLocalName,
                                String namespacePrefix)
        Constructor.
        Parameters:
        namespaceURI - the namespace the element is in
        elementLocalName - the local name of the XML element this Object represents
        namespacePrefix - the prefix for the given namespace
    • Method Detail

      • getVersion

        public org.opensaml.saml.common.SAMLVersion getVersion()
        Specified by:
        getVersion in interface org.opensaml.saml.saml2.core.Assertion
      • setVersion

        public void setVersion​(org.opensaml.saml.common.SAMLVersion newVersion)
        Specified by:
        setVersion in interface org.opensaml.saml.saml2.core.Assertion
      • getIssueInstant

        public Instant getIssueInstant()
        Specified by:
        getIssueInstant in interface org.opensaml.saml.saml2.core.Assertion
      • setIssueInstant

        public void setIssueInstant​(Instant newIssueInstance)
        Specified by:
        setIssueInstant in interface org.opensaml.saml.saml2.core.Assertion
      • getID

        public String getID()
        Specified by:
        getID in interface org.opensaml.saml.saml2.core.Assertion
      • setID

        public void setID​(String newID)
        Specified by:
        setID in interface org.opensaml.saml.saml2.core.Assertion
      • getIssuer

        public org.opensaml.saml.saml2.core.Issuer getIssuer()
        Specified by:
        getIssuer in interface org.opensaml.saml.saml2.core.Assertion
      • setIssuer

        public void setIssuer​(org.opensaml.saml.saml2.core.Issuer newIssuer)
        Specified by:
        setIssuer in interface org.opensaml.saml.saml2.core.Assertion
      • getSubject

        public org.opensaml.saml.saml2.core.Subject getSubject()
        Specified by:
        getSubject in interface org.opensaml.saml.saml2.core.Assertion
      • setSubject

        public void setSubject​(org.opensaml.saml.saml2.core.Subject newSubject)
        Specified by:
        setSubject in interface org.opensaml.saml.saml2.core.Assertion
      • getConditions

        public org.opensaml.saml.saml2.core.Conditions getConditions()
        Specified by:
        getConditions in interface org.opensaml.saml.saml2.core.Assertion
      • setConditions

        public void setConditions​(org.opensaml.saml.saml2.core.Conditions newConditions)
        Specified by:
        setConditions in interface org.opensaml.saml.saml2.core.Assertion
      • getAdvice

        public org.opensaml.saml.saml2.core.Advice getAdvice()
        Specified by:
        getAdvice in interface org.opensaml.saml.saml2.core.Assertion
      • setAdvice

        public void setAdvice​(org.opensaml.saml.saml2.core.Advice newAdvice)
        Specified by:
        setAdvice in interface org.opensaml.saml.saml2.core.Assertion
      • getStatements

        public List<org.opensaml.saml.saml2.core.Statement> getStatements()
        Specified by:
        getStatements in interface org.opensaml.saml.saml2.core.Assertion
      • getStatements

        public List<org.opensaml.saml.saml2.core.Statement> getStatements​(QName typeOrName)
        Specified by:
        getStatements in interface org.opensaml.saml.saml2.core.Assertion
      • getAuthnStatements

        public List<org.opensaml.saml.saml2.core.AuthnStatement> getAuthnStatements()
        Specified by:
        getAuthnStatements in interface org.opensaml.saml.saml2.core.Assertion
      • getAuthzDecisionStatements

        public List<org.opensaml.saml.saml2.core.AuthzDecisionStatement> getAuthzDecisionStatements()
        Specified by:
        getAuthzDecisionStatements in interface org.opensaml.saml.saml2.core.Assertion
      • getAttributeStatements

        public List<org.opensaml.saml.saml2.core.AttributeStatement> getAttributeStatements()
        Specified by:
        getAttributeStatements in interface org.opensaml.saml.saml2.core.Assertion
      • getSignatureReferenceID

        public String getSignatureReferenceID()
        Specified by:
        getSignatureReferenceID in interface org.opensaml.saml.common.SignableSAMLObject
      • getOrderedChildren

        public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
        Specified by:
        getOrderedChildren in interface org.opensaml.core.xml.XMLObject