org.openpermis.policy
Interface TargetAccessRule
- All Superinterfaces:
- Part, Serializable
- All Known Subinterfaces:
- TargetAccessRuleBean
- All Known Implementing Classes:
- BasicTargetAccessRule
public interface TargetAccessRule
- extends Part
A target access rule defines a set of roles that are allowed to access a target.
- Since:
- 0.1.0
Method Summary |
AuthorizedRoles |
findAuthorizedRoleSet(URI resourceUri,
String actionName,
List<?> arguments,
TimeStamp timeStamp)
Returns an authorized role set containing the set of roles that are needed to execute an
action on a target by this rule using the clock, and the obligations for this set of roles. |
findAuthorizedRoleSet
AuthorizedRoles findAuthorizedRoleSet(URI resourceUri,
String actionName,
List<?> arguments,
TimeStamp timeStamp)
- Returns an authorized role set containing the set of roles that are needed to execute an
action on a target by this rule using the clock, and the obligations for this set of roles.
- Parameters:
resourceUri
- an URI
to identify a resource.actionName
- the name of an action.arguments
- an optional list of arguments for the action.timeStamp
- a TimeStamp
to determine the temporal time context.
- Returns:
- an
AuthorizedRoles
containing the set of authorized roles and the set of
obligations if exists, null
otherwise. - Since:
- 0.3.0
PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:14:49
Copyright (c) 2002-2007 Ergon Informatik AG