org.openpermis.audit
Interface VetoableAccessDecisionListener

All Known Implementing Classes:
VetoableAccessDecisionAdapter

public interface VetoableAccessDecisionListener

Listener for audit events.

Vetoable access decision listeners are attached to specialized PolicyDecisionPoints that support audit event listeners.

Since:
0.3.0

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.
 

Method Detail

vetoableAccessDecision

void vetoableAccessDecision(AccessDecisionRequest request,
                            AccessDecision decision)
                            throws AccessDecisionVetoException
This method gets called when an access decision has been reached.

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

accessDecisionFailure

void accessDecisionFailure(AccessDecisionRequest request,
                           PolicyDecisionException exception)
This method gets called if the PDP fails to determine an access decision.

Parameters:
request - the request parameters for the access decisions.
exception - the exception that caused the failure in the PDP.
Since:
0.3.0


PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:14:59
Copyright (c) 2002-2007 Ergon Informatik AG