@Deprecated public class ActionDecision extends Object
ActionDecision
class represents the action results of a
policy evaluation. It has action values for a given action
and
advice
.Constructor and Description |
---|
ActionDecision(String actionName,
Set values)
Deprecated.
Constructor
|
ActionDecision(String actionName,
Set values,
Map advices,
long timeToLive)
Deprecated.
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getActionName()
Deprecated.
Gets the name of the action
|
Map |
getAdvices()
Deprecated.
Returns a
Map of advices associated with this
object. |
long |
getTimeToLive()
Deprecated.
Gets the GMT time in milliseconds since epoch when this object is to
be treated as expired.
|
Set |
getValues()
Deprecated.
Gets the action values for the action.
|
void |
setAdvices(Map advices)
Deprecated.
Sets
advices associated with this ActionDecision
. |
void |
setTimeToLive(long timeToLive)
Deprecated.
Sets the GMT time in milliseconds since epoch when this object is to
be treated as expired.
|
void |
setValues(Set values)
Deprecated.
Sets the action values for the action.
|
String |
toString()
Deprecated.
Gets a String representation of this object
|
String |
toXML()
Deprecated.
Gets an XML representation of this object
|
public ActionDecision(String actionName, Set values)
actionName
- name of the action.values
- a Set
of String
values for the actionpublic ActionDecision(String actionName, Set values, 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.public String getActionName()
public void setValues(Set values)
values
- a Set
of String valuespublic Set getValues()
Set
of String values.public long getTimeToLive()
SimpleTimeCondition(s)
specified in the Policy definition.public void setTimeToLive(long timeToLive)
SimpleTimeCondition(s)
specified in the Policy definition.timeToLive
- time to livepublic void setAdvices(Map advices)
advices
associated with this ActionDecision
.
The advice name is the key to the Map
. The
value is a Set
of advice message Strings corresponding to
the advice name. The two possible advices are authentication
level(AuthLevel
) and authentication modules
(AuthSchemes
). The advice message Strings for
AuthLevel
are integer valued.advices
- map of advicespublic Map getAdvices()
Map
of advices
associated with this
object.
The advice name is the key to the Map
. The
value is a Set
of advice message Strings corresponding to
the advice name. The two possible advices are authentication
level(AuthLevel
) and authentication modules
(AuthSchemes
). The advice message Strings for
AuthLevel
are integer valued.ActionDecision
.public String toString()
public String toXML()
Copyright © 2010-2018, ForgeRock All Rights Reserved.