org.openpermis.audit
Class AccessDecisionVetoException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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

Constructor Summary
AccessDecisionVetoException(String reason, AccessDecisionRequest request, AccessDecision decision)
          Creates a new access decision veto exception.
 
Method Summary
 AccessDecision getDecision()
          The access decision that was vetoed.
 AccessDecisionRequest getRequest()
          The access decision request that was vetoed.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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
Method Detail

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:10
Copyright (c) 2002-2007 Ergon Informatik AG