Package com.sun.identity.policy
Class ActionDecision
- java.lang.Object
-
- com.sun.identity.policy.ActionDecision
-
@Supported @Deprecated public class ActionDecision extends Object
Deprecated.As of OpenSSO Express 8.0, usecom.sun.identity.entitlement
instead asEntitlement
has replacedPolicy
.TheActionDecision
class represents the action results of a policy evaluation. It has action values for a givenaction
andadvice
.
-
-
Constructor Summary
Constructors Constructor Description ActionDecision(String actionName, Set values)
Deprecated.ConstructorActionDecision(String actionName, Set values, Map advices, long timeToLive)
Deprecated.Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getActionName()
Deprecated.Gets the name of the actionMap
getAdvices()
Deprecated.Returns aMap
ofadvices
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.Setsadvices
associated with thisActionDecision
.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 objectString
toXML()
Deprecated.Gets an XML representation of this object
-
-
-
Constructor Detail
-
ActionDecision
@Supported public ActionDecision(String actionName, Set values)
Deprecated.Constructor- Parameters:
actionName
- name of the action.values
- aSet
ofString
values for the action
-
ActionDecision
@Supported public ActionDecision(String actionName, Set values, Map advices, long timeToLive)
Deprecated.Constructor- Parameters:
actionName
- action namevalues
- aSet
ofString
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
-
getActionName
@Supported public String getActionName()
Deprecated.Gets the name of the action- Returns:
- name of the action
-
setValues
@Supported public void setValues(Set values)
Deprecated.Sets the action values for the action.- Parameters:
values
- aSet
of String values
-
getValues
@Supported public Set getValues()
Deprecated.Gets the action values for the action.- Returns:
- a
Set
of String values.
-
getTimeToLive
@Supported public long getTimeToLive()
Deprecated.Gets 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. This is computed as a result ofSimpleTimeCondition(s)
specified in the Policy definition.- Returns:
- long represeting the time to live for this object.
-
setTimeToLive
@Supported public void setTimeToLive(long timeToLive)
Deprecated.Sets 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. This is computed as a result ofSimpleTimeCondition(s)
specified in the Policy definition.- Parameters:
timeToLive
- time to live
-
setAdvices
@Supported public void setAdvices(Map advices)
Deprecated.Setsadvices
associated with thisActionDecision
. The advice name is the key to theMap
. The value is aSet
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 forAuthLevel
are integer valued.- Parameters:
advices
- map of advices
-
getAdvices
@Supported public Map getAdvices()
Deprecated.Returns aMap
ofadvices
associated with this object. The advice name is the key to theMap
. The value is aSet
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 forAuthLevel
are integer valued.- Returns:
- advices associated with this
ActionDecision
.
-
toString
@Supported public String toString()
Deprecated.Gets a String representation of this object
-
toXML
@Supported public String toXML()
Deprecated.Gets an XML representation of this object- Returns:
- XML representation of this object
-
-