org.openpermis.policy
Interface Target
- All Superinterfaces:
- Part, Serializable
- All Known Subinterfaces:
- TargetBean
- All Known Implementing Classes:
- BasicTarget
public interface Target
- extends Part
A target combines a resource or a set of resources to be protected with a set
of actions that are possible on these resources.
- Since:
- 0.1.0
Method Summary |
Action |
findAction(URI resourceUri,
String actionName,
List<?> arguments)
Returns the action which matches the given resource/action combination of this target,
null if no such action exists. |
findAction
Action findAction(URI resourceUri,
String actionName,
List<?> arguments)
- Returns the action which matches the given resource/action combination of this target,
null
if no such action exists.
- Parameters:
resourceUri
- the URI
of the resource for which look in the resource domain.actionName
- the name of the action for which to look in this target.arguments
- an optional map of arguments to the action.
- Returns:
- the
Action
if exists, null
otherwise. - Since:
- 0.1.0
PERMIS Role Based Access Control 0.3.0 (Build 14)
2009/05/08 09:06:22
Copyright (c) 2002-2007 Ergon Informatik AG