Class IDPListImpl

  • All Implemented Interfaces:
    IDPList

    public class IDPListImpl
    extends Object
    implements IDPList
    This class specifies the identity providers trusted by the requester to authenticate the presenter.
    • Constructor Detail

      • IDPListImpl

        public IDPListImpl()
        Constructor creates the IDPList Object.
      • IDPListImpl

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

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

      • toXMLString

        public String toXMLString()
                           throws SAML2Exception
        Returns a String representation of this Object.
        Specified by:
        toXMLString in interface IDPList
        Returns:
        a String representation of this Object.
        Throws:
        SAML2Exception - cannot create String object.
      • toXMLString

        public String toXMLString​(boolean includeNSPrefix,
                                  boolean declareNS)
                           throws SAML2Exception
        Returns a String representation of this Object.
        Specified by:
        toXMLString in interface IDPList
        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:
        the String representation of this Object.
        Throws:
        SAML2Exception - cannot create String object.
      • makeImmutable

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

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