|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openpermis.audit.AuditPolicyDecisionPoint
public class AuditPolicyDecisionPoint
Policy decision point delegate that supports VetoableAccessDecisionListener
s.
The audit policy decision point wraps an existing PolicyDecisionPoint
and adds
auditing functionality.
Constructor Summary | |
---|---|
AuditPolicyDecisionPoint(PolicyDecisionPoint delegate,
List<VetoableAccessDecisionListener> listeners)
Creates a new policy decision point with audit support. |
Method Summary | |
---|---|
AccessDecision |
getAccessDecision(Subject subject,
URI resource,
String actionName,
List<?> arguments,
TimeStamp timeStamp)
Decides whether a subject may be given access to a target and what obligations need to be fulfilled. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuditPolicyDecisionPoint(PolicyDecisionPoint delegate, List<VetoableAccessDecisionListener> listeners)
delegate
- the actual PDP to delegate access decision to, must not be null
.listeners
- a list of listeners to notify when a decision is calculated.Method Detail |
---|
public AccessDecision getAccessDecision(Subject subject, URI resource, String actionName, List<?> arguments, TimeStamp timeStamp) throws PolicyDecisionException
PolicyDecisionPoint
getAccessDecision
in interface PolicyDecisionPoint
subject
- a Subject
to identify the user requesting access and to provide
the roles assigned to her.resource
- a URI
to identify the resource that the subject wants to access.actionName
- the name of the action that the subject wants to perform on the resource.arguments
- an optional list of arguments for the action
that the subject wants to perform on the resource.timeStamp
- the time at which the action is executed.
AccessDecision
containing the PDP's decision and the
obligations associated with the decision.
PolicyDecisionException
- if the PDP fails to make an access decision.
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:14:49
Copyright (c) 2002-2007 Ergon Informatik AG