Class FSScoping
- java.lang.Object
-
- com.sun.identity.federation.message.FSScoping
-
@Deprecated public class FSScoping extends Object
Deprecated.since 12.0.0This classFSScopingcreates scoping element for the authentication request.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description FSIDPListgetIDPList()Deprecated.Returns the preferred IDPs list in an authentication request.intgetProxyCount()Deprecated.Returns the proxy count.static FSScopingparseURLEncodedRequest(jakarta.servlet.http.HttpServletRequest request)Deprecated.ReturnsFSScopingobject.voidsetIDPList(FSIDPList idpList)Deprecated.Sets preferred ordered List of IDPs that is known to SP for proxying.voidsetProxyCount(int count)Deprecated.Sets the proxy count.StringtoURLEncodedQueryString()Deprecated.Returns an URL Encoded String.StringtoXMLString()Deprecated.Returns aXMLstring representation of this object.StringtoXMLString(boolean includeNS, boolean declareNS)Deprecated.Creates a String representation of this object.
-
-
-
Constructor Detail
-
FSScoping
public FSScoping()
Deprecated.Default constructor
-
FSScoping
public FSScoping(FSIDPList idpList, int proxyCount)
Deprecated.Constructor createsFSScopingobject.- Parameters:
idpList- theFSIDPListobject.proxyCount- the number of proxies
-
FSScoping
public FSScoping(Element root) throws FSMsgException
Deprecated.Constructor createsFSScopingobject 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- theFSIDPListobject.
-
getIDPList
public FSIDPList getIDPList()
Deprecated.Returns the preferred IDPs list in an authentication request.- Returns:
- the
FSIDPListobject.
-
toXMLString
public String toXMLString() throws FSMsgException
Deprecated.Returns aXMLstring 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 converteddeclareNS- : 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.ReturnsFSScopingobject. The object is creating by parsing theHttpServletRequestobject.- Parameters:
request- theHttpServletRequestobject.- Throws:
FSMsgException- if there is an error creating this object.
-
-