org.openpermis.audit
Class AccessDecisionVetoException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.openpermis.audit.AccessDecisionVetoException
- All Implemented Interfaces:
- Serializable
public class AccessDecisionVetoException
- extends Exception
An exception thrown if an access decision is not acceptable.
May be thrown by a VetoableAccessDecisionListener
once an unacceptable access
decision has been reached to prevent its propagation to the caller of a
PolicyDecisionPoint
.
- See Also:
- Serialized Form
- Since:
- 0.3.0
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
serialVersionUID
private static final long serialVersionUID
- Constant Field Value:
-5211670548178988048L
- Since:
- 0.3.0
request
private final AccessDecisionRequest request
- Since:
- 0.3.0
decision
private final AccessDecision decision
- Since:
- 0.3.0
AccessDecisionVetoException
public AccessDecisionVetoException(String reason,
AccessDecisionRequest request,
AccessDecision decision)
- Creates a new access decision veto exception.
- Parameters:
reason
- the reason why the access decision has been vetoed.request
- the access decision request that is vetoed.decision
- the decision which is vetoed.- Since:
- 0.3.0
getRequest
public final AccessDecisionRequest getRequest()
- The access decision request that was vetoed.
- Returns:
- the request that was vetoed.
- Since:
- 0.3.0
getDecision
public final AccessDecision getDecision()
- The access decision that was vetoed.
- Returns:
- the decision that was vetoed.
- Since:
- 0.3.0
PERMIS Role Based Access Control 0.3.0 (Build 14)
2009/05/08 09:06:22
Copyright (c) 2002-2007 Ergon Informatik AG