org.openpermis
Interface PolicyDecisionPoint

All Known Subinterfaces:
Policy, PolicyBean
All Known Implementing Classes:
AuditPolicyDecisionPoint, BasicPolicy, ExpirablePolicyDecisionPoint

public interface PolicyDecisionPoint

Performs policy-based access decisions.

Since:
0.1.0

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.
 

Method Detail

getAccessDecision

AccessDecision getAccessDecision(Subject subject,
                                 URI resource,
                                 String actionName,
                                 List<?> arguments,
                                 TimeStamp timeStamp)
                                 throws PolicyDecisionException
Decides whether a subject may be given access to a target and what obligations need to be fulfilled.

Parameters:
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.
Returns:
an AccessDecision containing the PDP's decision and the obligations associated with the decision.
Throws:
PolicyDecisionException - if the PDP fails to make an access decision.
Since:
0.1.0


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