Class Decision
java.lang.Object
com.ibm.security.access.policy.decision.Decision
This class represents a decision.
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.Get the handler.getType()
Get the type.
-
Method Details
-
allow
Create an ALLOW decision.- Returns:
- An ALLOW decision.
-
deny
Create a DENY decision with the specified handler.- Parameters:
handler
- The handler.- Returns:
- A DENY decision.
-
challenge
Create a CHALLENGE decision with the specified handler.- Parameters:
handler
- The handler.- Returns:
- A CHALLENGE decision.
-
getType
Get the type.- Returns:
- The type.
-
getHandler
Get the handler.- Returns:
- The handler.
-