Package com.sun.identity.policy
Class PolicyDecision
- java.lang.Object
-
- com.sun.identity.policy.PolicyDecision
-
@Supported @Deprecated public class PolicyDecision extends Object
Deprecated.As of OpenSSO Express 8.0, usecom.sun.identity.entitlement
instead asEntitlement
has replacedPolicy
.ThePolicyDecision
class represents the result of a policy evaluation.
-
-
Constructor Summary
Constructors Constructor Description PolicyDecision()
Deprecated.Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addActionDecision(ActionDecision actionDecision)
Deprecated.Adds an action decision to this object if there is already an existing actionDecision associated with the action name in the paramactionDecision
, merges the values of the new decision with the existing one, changing the time to live for the decision appropriately.Map
getActionDecisions()
Deprecated.Gets theMap
of action decisions associated with this policy decision.String
toString()
Deprecated.Gets a String representation of thisPolicyDecision
String
toXML()
Deprecated.Gets an XML representation of this object
-
-
-
Constructor Detail
-
PolicyDecision
@Supported public PolicyDecision()
Deprecated.Default constructor.
-
-
Method Detail
-
getActionDecisions
@Supported public Map getActionDecisions()
Deprecated.Gets theMap
of action decisions associated with this policy decision. The action name is the key to the Map. The value for each key is anActionDecision
.- Returns:
- the
Map
of action decisions associated with this policy decision. The action name is the key to the Map. The value for each key is anActionDecision
.
-
addActionDecision
@Supported public void addActionDecision(ActionDecision actionDecision)
Deprecated.Adds an action decision to this object if there is already an existing actionDecision associated with the action name in the paramactionDecision
, merges the values of the new decision with the existing one, changing the time to live for the decision appropriately.- Parameters:
actionDecision
- action decision to be added
-
toString
@Supported public String toString()
Deprecated.Gets a String representation of thisPolicyDecision
-
toXML
@Supported public String toXML()
Deprecated.Gets an XML representation of this object- Returns:
- an XML representation of this object
-
-