public class PolicyResponse extends Object
PolicyResponse
represents a PolicyResponse
XML document. The PolicyResponse DTD is defined as the following:
Modifier and Type | Field and Description |
---|---|
static String |
APP_SSO_TOKEN_INVALID
Exception message if Application SSO Token is invalid
|
static int |
POLICY_ADD_LISTENER_RESPONSE
Add Policy Listener Resource ID.
|
static int |
POLICY_ADVICES_HANDLEABLE_BY_AM_RESPONSE
Policy Advices Handleable by OpenAM Response ID.
|
static int |
POLICY_EXCEPTION
Policy Exception ID.
|
static int |
POLICY_REMOVE_LISTENER_RESPONSE
Remove Policy Listener Resource ID.
|
static int |
POLICY_RESPONSE_RESOURCE_RESULT
Policy Response Resource Result ID.
|
Constructor and Description |
---|
PolicyResponse()
Default constructor for
PolicyResponse . |
Modifier and Type | Method and Description |
---|---|
AdvicesHandleableByAMResponse |
getAdvicesHandleableByAMResponse()
Returns the
AdvicesHandleableByAMResponse object. |
String |
getExceptionMsg()
Returns the exception response.
|
long |
getIssueInstant()
Returns the issue instant
|
int |
getMethodID()
Returns the method ID of the Policy Response.
|
String |
getRequestId()
Returns the request ID.
|
Set |
getResourceResults()
Returns the set of the sub resource results.
|
static PolicyResponse |
parseXML(Node pNode)
Returns
PolicyResponse object constructed from XML. |
void |
setAdvicesHandleableByAMResponse(AdvicesHandleableByAMResponse advicesHandleableByAMResponse)
Set the
AdvicesHandleableByAMResponse . |
void |
setExceptionMsg(String exMsg)
Sets the exception response.
|
void |
setIssueInstant(long issueInst)
Sets the issue instant
|
void |
setMethodID(int id)
Sets the method ID of the Policy Response.
|
void |
setRequestId(String reqId)
Sets the request ID.
|
void |
setResourceResults(Set set)
Sets the set of the sub resource results.
|
String |
toXMLString()
Returns string representation of this object.
|
public static final int POLICY_RESPONSE_RESOURCE_RESULT
public static final int POLICY_ADD_LISTENER_RESPONSE
public static final int POLICY_REMOVE_LISTENER_RESPONSE
public static final int POLICY_EXCEPTION
public static final int POLICY_ADVICES_HANDLEABLE_BY_AM_RESPONSE
public static final String APP_SSO_TOKEN_INVALID
public int getMethodID()
public void setMethodID(int id)
id
- the method ID.public String getRequestId()
public void setRequestId(String reqId)
reqId
- the ID of the request.public long getIssueInstant()
public void setIssueInstant(long issueInst)
issueInst
- issue instantpublic Set getResourceResults()
public void setResourceResults(Set set)
set
- the sub resource result set.public AdvicesHandleableByAMResponse getAdvicesHandleableByAMResponse()
AdvicesHandleableByAMResponse
object.AdvicesHandleableByAMResponse
object.public void setAdvicesHandleableByAMResponse(AdvicesHandleableByAMResponse advicesHandleableByAMResponse)
AdvicesHandleableByAMResponse
.advicesHandleableByAMResponse
- the
AdvicesHandleableByAMResponse
.public String getExceptionMsg()
public void setExceptionMsg(String exMsg)
exMsg
- the exception response.public static PolicyResponse parseXML(Node pNode) throws PolicyEvaluationException
PolicyResponse
object constructed from XML.pNode
- the XML DOM node for the PolicyResponse
object.PolicyResponse
object.PolicyEvaluationException
public String toXMLString()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.