|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AccessManager
Handles ACL checks and knows the users permissions.
Method Summary | |
---|---|
java.util.List<Permission> |
getPermissionList()
Get permission list assigned to this access manager. |
long |
getPermissions(java.lang.String path)
Get permissions assigned to the given path. |
boolean |
isGranted(java.lang.String path,
long permissions)
Determines wether the specified permissions are granted to the given path. |
void |
setPermissionList(java.util.List<Permission> permissions)
Sets the list of permissions this manager will use to determine access, implementation is free to define the structure of this list. |
Method Detail |
---|
boolean isGranted(java.lang.String path, long permissions)
path
- path for which permissions are checkedpermissions
- permission mask
void setPermissionList(java.util.List<Permission> permissions)
permissions
- java.util.List<Permission> getPermissionList()
long getPermissions(java.lang.String path)
path
- for which permissions are requested
all possible permissions
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |