public interface AclDataAccess
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String user,
java.lang.String action,
java.lang.Object resource)
Adds a new permission.
|
AclEntry |
getEntry(java.lang.String user,
java.lang.Object resource)
Gets the
AclEntry (the permissions) concerning a given pair of user and resource. |
void add(java.lang.String user, java.lang.String action, java.lang.Object resource)
user
- the subject of this permission.action
- the action authorized by this permission.resource
- the target of this permission.AclEntry getEntry(java.lang.String user, java.lang.Object resource)
AclEntry
(the permissions) concerning a given pair of user and resource.user
- the subject of this request.resource
- the target of this request.user
and resource
.