org.openpermis.audit
Class VetoableAccessDecisionAdapter

java.lang.Object
  extended by org.openpermis.audit.VetoableAccessDecisionAdapter
All Implemented Interfaces:
VetoableAccessDecisionListener

public class VetoableAccessDecisionAdapter
extends Object
implements VetoableAccessDecisionListener

Adapter base class for VetoableAccessDecisionListener.

Extend this adapter to guard against future additions to the listener class or to simplify implementation if you only need certain portions of the listener. The adapter implementations do nothing by default.

Since:
0.3.0

Constructor Summary
VetoableAccessDecisionAdapter()
           
 
Method Summary
 void accessDecisionFailure(AccessDecisionRequest request, PolicyDecisionException exception)
          This method gets called if the PDP fails to determine an access decision.
 void vetoableAccessDecision(AccessDecisionRequest request, AccessDecision decision)
          This method gets called when an access decision has been reached.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VetoableAccessDecisionAdapter

public VetoableAccessDecisionAdapter()
Method Detail

accessDecisionFailure

public void accessDecisionFailure(AccessDecisionRequest request,
                                  PolicyDecisionException exception)
Description copied from interface: VetoableAccessDecisionListener
This method gets called if the PDP fails to determine an access decision.

Specified by:
accessDecisionFailure in interface VetoableAccessDecisionListener
Parameters:
request - the request parameters for the access decisions.
exception - the exception that caused the failure in the PDP.
Since:
0.3.0

vetoableAccessDecision

public void vetoableAccessDecision(AccessDecisionRequest request,
                                   AccessDecision decision)
                            throws AccessDecisionVetoException
Description copied from interface: VetoableAccessDecisionListener
This method gets called when an access decision has been reached.

Specified by:
vetoableAccessDecision in interface VetoableAccessDecisionListener
Parameters:
request - the request parameters for the access decision.
decision - the calculated access decision.
Throws:
AccessDecisionVetoException - if the recipient wishes to veto the access decision.
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