|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.policy.ActionDecision
The ActionDecision
class represents the action results of a
policy evaluation. It has action values for a given action and advice. The
advice is either the authenticatin level of the required authentication
scheme or the authentication schemes with which the user must authenticate.
Additional advices may be supported in future.
Constructor Summary | |
ActionDecision()
Deprecated. No replacement API provided. There should be no need to invoke this constructor. |
|
ActionDecision(java.lang.String actionName,
java.util.Set values)
Constructor |
|
ActionDecision(java.lang.String actionName,
java.util.Set values,
java.util.Map advices,
long timeToLive)
Constructor |
Method Summary | |
java.lang.String |
getActionName()
Gets the name of the action |
java.util.Map |
getAdvices()
Returns a map of advices associated with this object. |
long |
getTimeToLive()
Gets the GMT time in milliseconds since epoch when this object is to be treated as expired. |
java.util.Set |
getValues()
Gets the action values for the action. |
void |
setAdvices(java.util.Map advices)
Sets advices associated with this action decision. |
void |
setTimeToLive(long timeToLive)
Sets the GMT time in milliseconds since epoch when this object is to be treated as expired. |
void |
setValues(java.util.Set values)
Sets the action values for the action. |
java.lang.String |
toString()
Gets a String representation of this object |
java.lang.String |
toXML()
Gets an XML representation of this object |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ActionDecision()
public ActionDecision(java.lang.String actionName, java.util.Set values)
actionName
- action namevalues
- a set of String values for the actionpublic ActionDecision(java.lang.String actionName, java.util.Set values, java.util.Map advices, long timeToLive)
actionName
- action namevalues
- a set of String values for the actionadvices
- advices associated with this action decision.
The advice name is the key to the Map. The
value is a set of advice message Strings corresponding
to the advice name.timeToLive
- the GMT time in milliseconds since epoch
when this object is to be treated as expired.
That is the action values would likely be different
after that time.Method Detail |
public java.lang.String getActionName()
public void setValues(java.util.Set values)
values
- a set of String valuespublic java.util.Set getValues()
public long getTimeToLive()
public void setTimeToLive(long timeToLive)
timeToLive
- time to livepublic void setAdvices(java.util.Map advices)
AuthLevel
) and authentication schemes
(AuthSchemes
). The advice message Strings for
AuthLevel
are integer valued.
advices
- map of advicespublic java.util.Map getAdvices()
AuthLevel
) and authentication schemes
(AuthSchemes
). The advice message Strings for
AuthLevel
are integer valued.
public java.lang.String toString()
public java.lang.String toXML()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |