|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openpermis.audit.VetoableAccessDecisionAdapter
public class VetoableAccessDecisionAdapter
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.
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 |
---|
public VetoableAccessDecisionAdapter()
Method Detail |
---|
public void accessDecisionFailure(AccessDecisionRequest request, PolicyDecisionException exception)
VetoableAccessDecisionListener
accessDecisionFailure
in interface VetoableAccessDecisionListener
request
- the request parameters for the access decisions.exception
- the exception that caused the failure in the PDP.public void vetoableAccessDecision(AccessDecisionRequest request, AccessDecision decision) throws AccessDecisionVetoException
VetoableAccessDecisionListener
vetoableAccessDecision
in interface VetoableAccessDecisionListener
request
- the request parameters for the access decision.decision
- the calculated access decision.
AccessDecisionVetoException
- if the recipient wishes to veto the access decision.
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PERMIS Role Based Access Control 0.3.0 (Build 14)
2009/05/08 09:06:10
Copyright (c) 2002-2007 Ergon Informatik AG