Class Decision
- java.lang.Object
-
- com.ibm.security.access.policy.decision.Decision
-
public class Decision extends java.lang.Object
This class represents a decision.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Decision
allow()
Create an ALLOW decision.static Decision
challenge(ChallengeDecisionHandler handler)
Create a CHALLENGE decision with the specified handler.static Decision
deny(DenyDecisionHandler handler)
Create a DENY decision with the specified handler.DecisionHandler
getHandler()
Get the handler.DecisionType
getType()
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.
-
-