org.keel.services.authorization
Interface InvokationSecurable
- All Superinterfaces:
- InstanceSecurable, Securable
- All Known Implementing Classes:
- RowSecurablePersistent, RowSecurablePersistent
- public interface InvokationSecurable
- extends InstanceSecurable
An InvokationSecurable component builds on the concept of an InstanceSecurable. In addition to the particular instance of the component being able to be secured independantly, each operation requested may or may not be able to authorized depending on the current value of any of a number of properties that the InvokationSecurable currently posseses. These properties can be compared (via authorization rules) to the current parameters of the requested operation, for example). This can be used, for example, to allow access to a particular persistent only when the value of a certain field contains the uid of the currently logged-in user (e.g. only the "owner" of the record can modify it).
- Author:
- Michael Nash
| Method Summary |
java.util.Map |
getAuthorizationProperties()
Return a map of properties representing the current state of this InvokationSecurable object. |
getAuthorizationProperties
public java.util.Map getAuthorizationProperties()
-
Return a map of properties representing the current state of this InvokationSecurable object. The authorization manager then usese these properties to determine if the current operation is permitted
-
-
Please see keelframework.org for information about new Keel releases.