Class RequestAbstractTypeImpl

All Implemented Interfaces:
XMLObject, SAMLObject, SignableSAMLObject, RequestAbstractType, SignableXMLObject
Direct Known Subclasses:
ArtifactResolveImpl, AssertionIDRequestImpl, AuthnRequestImpl, LogoutRequestImpl, ManageNameIDRequestImpl, NameIDMappingRequestImpl, SubjectQueryImpl, XACMLAuthzDecisionQueryTypeImpl, XACMLPolicyQueryTypeImpl

public abstract class RequestAbstractTypeImpl
extends AbstractSignableSAMLObject
implements RequestAbstractType
Concrete implementation of RequestAbstractType.
  • Field Details

    • version

      private SAMLVersion version
      SAML Version of the request.
    • id

      private String id
      Unique identifier of the request.
    • issueInstant

      private Instant issueInstant
      Date/time request was issued.
    • destination

      private String destination
      URI of the request destination.
    • issuer

      private Issuer issuer
      URI of the SAML user consent type.
    • extensions

      private Extensions extensions
      Extensions child element.
  • Constructor Details

    • RequestAbstractTypeImpl

      protected RequestAbstractTypeImpl​(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 request.
      Specified by:
      getVersion in interface RequestAbstractType
      Returns:
      the SAML Version of this request.
    • setVersion

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

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

      public void setID​(String newID)
      Sets the unique identifier of the request.
      Specified by:
      setID in interface RequestAbstractType
      Parameters:
      newID - the unique identifier of the request
    • getIssueInstant

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

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

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

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

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

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

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

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

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

      public void setExtensions​(Extensions newExtensions)
      Sets the Extensions of this request.
      Specified by:
      setExtensions in interface RequestAbstractType
      Parameters:
      newExtensions - the Extensions of this request
    • 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