Class PolicyDecision

java.lang.Object
com.sun.identity.policy.PolicyDecision

@Supported @Deprecated public class PolicyDecision extends Object
Deprecated.
As of OpenSSO Express 8.0, use com.sun.identity.entitlement instead as Entitlement has replaced Policy.
The PolicyDecision class represents the result of a policy evaluation.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
    Adds an action decision to this object if there is already an existing actionDecision associated with the action name in the param actionDecision, merges the values of the new decision with the existing one, changing the time to live for the decision appropriately.
    Deprecated.
    Gets the Map of action decisions associated with this policy decision.
    Deprecated.
    Gets a String representation of this PolicyDecision
    Deprecated.
    Gets an XML representation of this object

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • PolicyDecision

      @Supported public PolicyDecision()
      Deprecated.
      Default constructor.
  • Method Details

    • getActionDecisions

      @Supported public Map getActionDecisions()
      Deprecated.
      Gets 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 an ActionDecision.
      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 an ActionDecision.
    • 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 param actionDecision, 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 this PolicyDecision
      Overrides:
      toString in class Object
      Returns:
      a String representation of this PolicyDecision
    • toXML

      @Supported public String toXML()
      Deprecated.
      Gets an XML representation of this object
      Returns:
      an XML representation of this object