Class IDPEntryImpl

  • All Implemented Interfaces:
    IDPEntry

    public class IDPEntryImpl
    extends Object
    implements IDPEntry
    This class defines methods to set/retrieve single identity provider information trusted by the request issuer to authenticate the presenter.
    • Constructor Detail

      • IDPEntryImpl

        public IDPEntryImpl()
        Constructor to create IDPEntry Object.
      • IDPEntryImpl

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

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

      • getName

        public String getName()
        Returns the value of Name attribute.
        Specified by:
        getName in interface IDPEntry
        Returns:
        value of the Name attribute.
        See Also:
        setName(String)
      • getLoc

        public String getLoc()
        Return the value of Loc attribute.
        Specified by:
        getLoc in interface IDPEntry
        Returns:
        value of Loc attribute.
        See Also:
        setLoc(String)
      • toXMLString

        public String toXMLString()
                           throws SAML2Exception
        Returns a String representation of this Object.
        Specified by:
        toXMLString in interface IDPEntry
        Returns:
        a String representation of this Object.
        Throws:
        SAML2Exception - if 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 IDPEntry
        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 - if cannot create String object.
      • makeImmutable

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

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