Class RequesterIDImpl

  • All Implemented Interfaces:
    RequesterID

    public class RequesterIDImpl
    extends Object
    implements RequesterID
    This interface identifies the requester entities in an AuthnRequest message.
    • Constructor Detail

      • RequesterIDImpl

        public RequesterIDImpl()
        Constructor to create the RequesterID Object.
      • RequesterIDImpl

        public RequesterIDImpl​(Element element)
                        throws SAML2Exception
        Constructor to create the RequesterID Object.
        Parameters:
        element - Document Element of RequesterID Object.
        Throws:
        SAML2Exception - if RequesterID cannot be created.
      • RequesterIDImpl

        public RequesterIDImpl​(String xmlString)
                        throws SAML2Exception
        Constructor to create the RequesterID Object.
        Parameters:
        xmlString - XML String Representation of RequesterID object.
        Throws:
        SAML2Exception - if RequesterID cannot be created.
    • Method Detail

      • toXMLString

        public String toXMLString​(boolean includeNSPrefix,
                                  boolean declareNS)
                           throws SAML2Exception
        Returns a String representation
        Specified by:
        toXMLString in interface RequesterID
        Parameters:
        includeNSPrefix - determines whether or not the namespace qualifier is prepended to the Element when converted
        declareNS - determines whether or not the namespace is declared within the Element.
        Returns:
        a String representation of this Object.
        Throws:
        SAML2Exception - if cannot convert to String.
      • makeImmutable

        public void makeImmutable()
        Makes this object immutable.
        Specified by:
        makeImmutable in interface RequesterID
      • isMutable

        public boolean isMutable()
        Returns value true if object is mutable.
        Specified by:
        isMutable in interface RequesterID
        Returns:
        true if object is mutable.