Class Decision
- java.lang.Object
-
- com.ibm.security.access.policy.decision.Decision
-
public class Decision extends java.lang.ObjectThis class represents a decision.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Decisionallow()Create an ALLOW decision.static Decisionchallenge(ChallengeDecisionHandler handler)Create a CHALLENGE decision with the specified handler.static Decisiondeny(DenyDecisionHandler handler)Create a DENY decision with the specified handler.DecisionHandlergetHandler()Get the handler.DecisionTypegetType()Get the type.
-
-
-
Method Detail
-
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.
-
-