Class Decision

java.lang.Object
com.ibm.security.access.policy.decision.Decision

public class Decision extends Object
This class represents a decision.
  • Method Details

    • allow

      public static Decision allow()
      Create an ALLOW decision.
      Returns:
      An ALLOW decision.
    • deny

      public static Decision deny(DenyDecisionHandler handler)
      Create a DENY decision with the specified handler.
      Parameters:
      handler - The handler.
      Returns:
      A DENY decision.
    • challenge

      public static Decision challenge(ChallengeDecisionHandler handler)
      Create a CHALLENGE decision with the specified handler.
      Parameters:
      handler - The handler.
      Returns:
      A CHALLENGE decision.
    • getType

      public DecisionType getType()
      Get the type.
      Returns:
      The type.
    • getHandler

      public DecisionHandler getHandler()
      Get the handler.
      Returns:
      The handler.