com.sun.identity.federation.message
クラス FSScoping

java.lang.Object
  上位を拡張 com.sun.identity.federation.message.FSScoping

public class FSScoping
extends Object

This class FSScoping creates scoping element for the authentication request.


コンストラクタの概要
FSScoping()
          Default constructor
FSScoping(Element root)
          Constructor creates FSScoping object from the Document Element.
FSScoping(FSIDPList idpList, int proxyCount)
          Constructor creates FSScoping object.
 
メソッドの概要
 FSIDPList getIDPList()
          Returns the preferred IDPs list in an authentication request.
 int getProxyCount()
          Returns the proxy count.
static FSScoping parseURLEncodedRequest(HttpServletRequest request)
          Returns FSScoping object.
 void setIDPList(FSIDPList idpList)
          Sets preferred ordered List of IDPs that is known to SP for proxying.
 void setProxyCount(int count)
          Sets the proxy count.
 String toURLEncodedQueryString()
          Returns an URL Encoded String.
 String toXMLString()
          Returns a XML string representation of this object.
 String toXMLString(boolean includeNS, boolean declareNS)
          Creates a String representation of this object.
 

コンストラクタの詳細

FSScoping

public FSScoping()
Default constructor


FSScoping

public FSScoping(FSIDPList idpList,
                 int proxyCount)
Constructor creates FSScoping object.

パラメータ:
idpList - the FSIDPList object.
proxyCount - the number of proxies

FSScoping

public FSScoping(Element root)
          throws FSMsgException
Constructor creates FSScoping object from the Document Element.

パラメータ:
root - the Document Element .
例外:
FSMsgException - if there is a failure creating this object.
メソッドの詳細

setProxyCount

public void setProxyCount(int count)
Sets the proxy count.

パラメータ:
count - number of proxies

getProxyCount

public int getProxyCount()
Returns the proxy count.

戻り値:
number of proxies.

setIDPList

public void setIDPList(FSIDPList idpList)
Sets preferred ordered List of IDPs that is known to SP for proxying.

パラメータ:
idpList - the FSIDPList object.

getIDPList

public FSIDPList getIDPList()
Returns the preferred IDPs list in an authentication request.

戻り値:
the FSIDPList object.

toXMLString

public String toXMLString()
                   throws FSMsgException
Returns a XML string representation of this object.

戻り値:
XML String representing this object.
例外:
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
Creates a String representation of this object.

パラメータ:
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.
戻り値:
string containing the valid XML for this element.
例外:
FSMsgException - if there is an error.

toURLEncodedQueryString

public String toURLEncodedQueryString()
                               throws FSMsgException
Returns an URL Encoded String.

戻り値:
a url encoded query string.
例外:
FSMsgException - if there is an error.

parseURLEncodedRequest

public static FSScoping parseURLEncodedRequest(HttpServletRequest request)
Returns FSScoping object. The object is creating by parsing the HttpServletRequest object.

パラメータ:
request - the HttpServletRequest object.
例外:
FSMsgException - if there is an error creating this object.