Class FSScoping


  • @Deprecated
    public class FSScoping
    extends Object
    Deprecated.
    since 12.0.0
    This class FSScoping creates scoping element for the authentication request.
    • Constructor Detail

      • FSScoping

        public FSScoping()
        Deprecated.
        Default constructor
      • FSScoping

        public FSScoping​(FSIDPList idpList,
                         int proxyCount)
        Deprecated.
        Constructor creates FSScoping object.
        Parameters:
        idpList - the FSIDPList object.
        proxyCount - the number of proxies
      • FSScoping

        public FSScoping​(Element root)
                  throws FSMsgException
        Deprecated.
        Constructor creates FSScoping object from the Document Element.
        Parameters:
        root - the Document Element .
        Throws:
        FSMsgException - if there is a failure creating this object.
    • Method Detail

      • setProxyCount

        public void setProxyCount​(int count)
        Deprecated.
        Sets the proxy count.
        Parameters:
        count - number of proxies
      • getProxyCount

        public int getProxyCount()
        Deprecated.
        Returns the proxy count.
        Returns:
        number of proxies.
      • setIDPList

        public void setIDPList​(FSIDPList idpList)
        Deprecated.
        Sets preferred ordered List of IDPs that is known to SP for proxying.
        Parameters:
        idpList - the FSIDPList object.
      • getIDPList

        public FSIDPList getIDPList()
        Deprecated.
        Returns the preferred IDPs list in an authentication request.
        Returns:
        the FSIDPList object.
      • toXMLString

        public String toXMLString()
                           throws FSMsgException
        Deprecated.
        Returns a XML string representation of this object.
        Returns:
        XML String representing this object.
        Throws:
        FSMsgException - if there is an error creating the XML string or if the required elements to create the string do not conform to the schema.
      • toXMLString

        public String toXMLString​(boolean includeNS,
                                  boolean declareNS)
                           throws FSMsgException
        Deprecated.
        Creates a 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:
        string containing the valid XML for this element.
        Throws:
        FSMsgException - if there is an error.
      • toURLEncodedQueryString

        public String toURLEncodedQueryString()
                                       throws FSMsgException
        Deprecated.
        Returns an URL Encoded String.
        Returns:
        a url encoded query string.
        Throws:
        FSMsgException - if there is an error.
      • parseURLEncodedRequest

        public static FSScoping parseURLEncodedRequest​(jakarta.servlet.http.HttpServletRequest request)
        Deprecated.
        Returns FSScoping object. The object is creating by parsing the HttpServletRequest object.
        Parameters:
        request - the HttpServletRequest object.
        Throws:
        FSMsgException - if there is an error creating this object.