Class StatusResponseTypeImpl

All Implemented Interfaces:
XMLObject, SAMLObject, SignableSAMLObject, StatusResponseType, SignableXMLObject
Direct Known Subclasses:
ArtifactResponseImpl, LogoutResponseImpl, ManageNameIDResponseImpl, NameIDMappingResponseImpl, ResponseImpl

public abstract class StatusResponseTypeImpl
extends AbstractSignableSAMLObject
implements StatusResponseType
Concrete implementation of StatusResponseType.
  • Field Details

    • version

      private SAMLVersion version
      SAML Version attribute.
    • id

      private String id
      ID attribute.
    • inResponseTo

      private String inResponseTo
      InResponseTo attribute.
    • issueInstant

      private Instant issueInstant
      IssueInstant attribute.
    • destination

      private String destination
      Destination attribute.
    • issuer

      private Issuer issuer
      Issuer child element.
    • extensions

      private Extensions extensions
      Extensions child element.
    • status

      private Status status
      Status child element.
  • Constructor Details

    • StatusResponseTypeImpl

      protected StatusResponseTypeImpl​(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 Details

    • getVersion

      public SAMLVersion getVersion()
      Gets the SAML Version of this response.
      Specified by:
      getVersion in interface StatusResponseType
      Returns:
      the SAML Version of this response.
    • setVersion

      public void setVersion​(SAMLVersion newVersion)
      Sets the SAML Version of this response.
      Specified by:
      setVersion in interface StatusResponseType
      Parameters:
      newVersion - the SAML Version of this response
    • getID

      public String getID()
      Gets the unique identifier of the response.
      Specified by:
      getID in interface StatusResponseType
      Returns:
      the unique identifier of the response
    • setID

      public void setID​(String newID)
      Sets the unique identifier of the response.
      Specified by:
      setID in interface StatusResponseType
      Parameters:
      newID - the unique identifier of the response
    • getInResponseTo

      public String getInResponseTo()
      Gets the unique request identifier for which this is a response.
      Specified by:
      getInResponseTo in interface StatusResponseType
      Returns:
      the unique identifier of the originating request
    • setInResponseTo

      public void setInResponseTo​(String newInResponseTo)
      Sets the unique request identifier for which this is a response.
      Specified by:
      setInResponseTo in interface StatusResponseType
      Parameters:
      newInResponseTo - the unique identifier of the originating request
    • getIssueInstant

      public Instant getIssueInstant()
      Gets the date/time the response was issued.
      Specified by:
      getIssueInstant in interface StatusResponseType
      Returns:
      the date/time the response was issued
    • setIssueInstant

      public void setIssueInstant​(Instant newIssueInstant)
      Sets the date/time the response was issued.
      Specified by:
      setIssueInstant in interface StatusResponseType
      Parameters:
      newIssueInstant - the date/time the response was issued
    • getDestination

      public String getDestination()
      Gets the URI of the destination of the response.
      Specified by:
      getDestination in interface StatusResponseType
      Returns:
      the URI of the destination of the response
    • setDestination

      public void setDestination​(String newDestination)
      Sets the URI of the destination of the response.
      Specified by:
      setDestination in interface StatusResponseType
      Parameters:
      newDestination - the URI of the destination of the response
    • getConsent

      public String getConsent()
      Gets the consent obtained from the principal for sending this response.
      Specified by:
      getConsent in interface StatusResponseType
      Returns:
      the consent obtained from the principal for sending this response
    • setConsent

      public void setConsent​(String newConsent)
      Sets the consent obtained from the principal for sending this response.
      Specified by:
      setConsent in interface StatusResponseType
      Parameters:
      newConsent - the consent obtained from the principal for sending this response
    • getIssuer

      public Issuer getIssuer()
      Gets the issuer of this response.
      Specified by:
      getIssuer in interface StatusResponseType
      Returns:
      the issuer of this response
    • setIssuer

      public void setIssuer​(Issuer newIssuer)
      Sets the issuer of this response.
      Specified by:
      setIssuer in interface StatusResponseType
      Parameters:
      newIssuer - the issuer of this response
    • getExtensions

      public Extensions getExtensions()
      Gets the Extensions of this response.
      Specified by:
      getExtensions in interface StatusResponseType
      Returns:
      the Status of this response
    • setExtensions

      public void setExtensions​(Extensions newExtensions)
      Sets the Extensions of this response.
      Specified by:
      setExtensions in interface StatusResponseType
      Parameters:
      newExtensions - the Extensions of this response
    • getStatus

      public Status getStatus()
      Gets the Status of this response.
      Specified by:
      getStatus in interface StatusResponseType
      Returns:
      the Status of this response
    • setStatus

      public void setStatus​(Status newStatus)
      Sets the Status of this response.
      Specified by:
      setStatus in interface StatusResponseType
      Parameters:
      newStatus - the Status of this response
    • getSignatureReferenceID

      public String getSignatureReferenceID()
      Gets the value of the ID attribute for this SAML object which will be used as its signature reference.
      Specified by:
      getSignatureReferenceID in interface SignableSAMLObject
      Returns:
      the value of this SAMLObject ID attribute
    • getOrderedChildren

      public List<XMLObject> getOrderedChildren()
      Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
      Specified by:
      getOrderedChildren in interface XMLObject
      Returns:
      ordered list of child elements