|
||||||||||
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 | |
---|---|
List<Permission> |
getPermissionList()
Get permission list assigned to this access manager. |
long |
getPermissions(String path)
Get permissions assigned to the given path. |
boolean |
isGranted(String path,
long permissions)
Determines wether the specified permissions are granted to the given path. |
void |
setPermissionList(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(String path, long permissions)
path
- path for which permissions are checkedpermissions
- permission mask
void setPermissionList(List<Permission> permissions)
permissions
- List<Permission> getPermissionList()
long getPermissions(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 |