Package com.sun.identity.policy.remote
Class ResourceResultRequest
- java.lang.Object
-
- com.sun.identity.policy.remote.ResourceResultRequest
-
public class ResourceResultRequest extends Object
ThisResourceResultRequestclass represents a GetResourceResults XML document. The GetResourceResults DTD is defined as the following:
-
-
Constructor Summary
Constructors Constructor Description ResourceResultRequest()Default constructor forResourceResultRequest.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MapgetEnvParms()Returns the environment parameters.StringgetResourceName()Returns the resource name of the request.StringgetResourceScope()Returns the resource scope of the request.SetgetResponseAttributes()Returns the response attributes.StringgetServiceName()Returns the service name of the request.StringgetUserSSOToken()Returns the user's single sign-on token.static ResourceResultRequestparseXML(Node pNode)ReturnsResourceResultRequestobject constructed from a XML.voidsetEnvParms(Map envs)Sets the environment parameters.voidsetResourceName(String name)Sets the resource name of the request.voidsetResourceScope(String scope)Sets the resource scope of the request.voidsetResponseAttributes(Set attrs)Sets the response attributes.voidsetServiceName(String name)Sets the service name of the request.voidsetUserSSOToken(String ssoToken)Sets the user's single sign-on token.StringtoXMLString()Returns a XML representation of this object.
-
-
-
Method Detail
-
getUserSSOToken
public String getUserSSOToken()
Returns the user's single sign-on token.- Returns:
- user's single sign-on token.
-
setUserSSOToken
public void setUserSSOToken(String ssoToken)
Sets the user's single sign-on token.- Parameters:
ssoToken- user's single sign-on token.
-
getServiceName
public String getServiceName()
Returns the service name of the request.- Returns:
- the service name.
-
setServiceName
public void setServiceName(String name)
Sets the service name of the request.- Parameters:
name- the service name.
-
getResourceName
public String getResourceName()
Returns the resource name of the request.- Returns:
- the resource name.
-
setResourceName
public void setResourceName(String name)
Sets the resource name of the request.- Parameters:
name- Resource name.
-
getResourceScope
public String getResourceScope()
Returns the resource scope of the request.- Returns:
- the resource scope.
-
setResourceScope
public void setResourceScope(String scope)
Sets the resource scope of the request.- Parameters:
scope- Resource scope.
-
getEnvParms
public Map getEnvParms()
Returns the environment parameters.- Returns:
- the environment parameters.
-
setEnvParms
public void setEnvParms(Map envs)
Sets the environment parameters.- Parameters:
envs- the environment parameters.
-
getResponseAttributes
public Set getResponseAttributes()
Returns the response attributes.- Returns:
- the response attributes.
-
setResponseAttributes
public void setResponseAttributes(Set attrs)
Sets the response attributes.- Parameters:
attrs- response attributes.
-
parseXML
public static ResourceResultRequest parseXML(Node pNode) throws PolicyEvaluationException
ReturnsResourceResultRequestobject constructed from a XML.- Parameters:
pNode- the XML DOM node for theResourceResultRequestobject- Returns:
- constructed
ResourceResultRequestobject. - Throws:
PolicyEvaluationException
-
toXMLString
public String toXMLString()
Returns a XML representation of this object.- Returns:
- a XML representation of this object.
-
-