Class ResponseImpl

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

    public class ResponseImpl
    extends StatusResponseTypeImpl
    implements org.opensaml.saml.saml2.core.Response
    Concrete implementation of Response.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<org.opensaml.core.xml.XMLObject> indexedChildren
      Assertion child elements.
      • Fields inherited from interface org.opensaml.saml.saml2.core.Response

        DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
      • Fields inherited from interface org.opensaml.saml.saml2.core.StatusResponseType

        CONSENT_ATTRIB_NAME, DESTINATION_ATTRIB_NAME, EXPLICIT_CONSENT, ID_ATTRIB_NAME, IMPLICIT_CONSENT, IN_RESPONSE_TO_ATTRIB_NAME, INAPPLICABLE_CONSENT, ISSUE_INSTANT_ATTRIB_NAME, ISSUE_INSTANT_ATTRIB_QNAME, OBTAINED_CONSENT, PRIOR_CONSENT, TYPE_LOCAL_NAME, TYPE_NAME, UNAVAILABLE_CONSENT, UNSPECIFIED_CONSENT, VERSION_ATTRIB_NAME
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      List<org.opensaml.saml.saml2.core.Assertion> getAssertions()
      List<org.opensaml.saml.saml2.core.EncryptedAssertion> getEncryptedAssertions()
      List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
      • 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.saml.common.SignableSAMLObject

        getSignatureReferenceID
      • Methods inherited from interface org.opensaml.xmlsec.signature.SignableXMLObject

        getSignature, isSigned, setSignature
      • Methods inherited from interface org.opensaml.saml.saml2.core.StatusResponseType

        getConsent, getDestination, getExtensions, getID, getInResponseTo, getIssueInstant, getIssuer, getStatus, getVersion, setConsent, setDestination, setExtensions, setID, setInResponseTo, setIssueInstant, setIssuer, setStatus, setVersion
      • 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

      • indexedChildren

        private final org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<org.opensaml.core.xml.XMLObject> indexedChildren
        Assertion child elements.
    • Constructor Detail

      • ResponseImpl

        protected ResponseImpl​(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

      • getAssertions

        public List<org.opensaml.saml.saml2.core.Assertion> getAssertions()
        Specified by:
        getAssertions in interface org.opensaml.saml.saml2.core.Response
      • getEncryptedAssertions

        public List<org.opensaml.saml.saml2.core.EncryptedAssertion> getEncryptedAssertions()
        Specified by:
        getEncryptedAssertions in interface org.opensaml.saml.saml2.core.Response
      • getOrderedChildren

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