Class SPProvidedNameIdentifier


  • @Deprecated
    public class SPProvidedNameIdentifier
    extends NameIdentifier
    Deprecated.
    since 12.0.0
    This class contains methods to create Service Provider NameIdentifier.
    • Field Detail

      • minorVersion

        protected int minorVersion
        Deprecated.
    • Constructor Detail

      • SPProvidedNameIdentifier

        public SPProvidedNameIdentifier​(String name,
                                        String nameQualifier,
                                        String format)
                                 throws SAMLException
        Deprecated.
        Constructor creates SPProvidedNameIdentifier object.
        Parameters:
        name -
        nameQualifier -
        format -
        Throws:
        SAMLException - on errors.
      • SPProvidedNameIdentifier

        public SPProvidedNameIdentifier​(Element spProvidedNameIdentifierElement)
                                 throws FSMsgException
        Deprecated.
        Constructor creates SPProvidedNameIdentifier object from Document Element.
        Parameters:
        spProvidedNameIdentifierElement - the Document Element.
        Throws:
        FSMsgException - on errors.
      • SPProvidedNameIdentifier

        public SPProvidedNameIdentifier​(String securityDomain,
                                        String name)
                                 throws FSMsgException
        Deprecated.
        Constructor creates SPProvidedNameIdentifier object.
        Parameters:
        securityDomain - the Security Domain
        name - the identifier
        Throws:
        FSMsgException - if there is an error .
    • Method Detail

      • setMinorVersion

        public void setMinorVersion​(int version)
        Deprecated.
        Sets the MinorVersion attribute.
        Parameters:
        version - the MinorVersion attribute.
        See Also:
        getMinorVersion()
      • getMinorVersion

        public int getMinorVersion()
        Deprecated.
        Returns the MinorVersion attribute.
        Returns:
        the MinorVersion attribute.
        See Also:
        setMinorVersion(int)
      • toXMLString

        public String toXMLString()
                           throws FSMsgException
        Deprecated.
        Returns the string representation of this object.
        Returns:
        a string containing the valid XML for this element
        Throws:
        FSMsgException - if there is an error creating XML string from this object.
      • toXMLString

        public String toXMLString​(boolean includeNS,
                                  boolean declareNS)
                           throws FSMsgException
        Deprecated.
        Returns the string representation of this object.
        Parameters:
        includeNS - 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 containing the valid XML for this element
        Throws:
        FSMsgException - if there is an error creating XML string from this object.