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.
 
Methods inherited from interface org.openpermis.policy.Part
equals, hashCode, isValid, toString
 

Method Detail

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.4.0 (Build 15)
2009/05/20 08:14:59
Copyright (c) 2002-2007 Ergon Informatik AG