|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.security.AccessManagerImpl
public class AccessManagerImpl
Default implementation for AccessManager
.
Constructor Summary | |
---|---|
AccessManagerImpl()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AccessManagerImpl()
Method Detail |
---|
public boolean isGranted(String path, long permissions)
AccessManager
isGranted
in interface AccessManager
path
- path for which permissions are checkedpermissions
- permission mask
public void setPermissionList(List<Permission> permissions)
AccessManager
setPermissionList
in interface AccessManager
public List<Permission> getPermissionList()
AccessManager
getPermissionList
in interface AccessManager
public long getPermissions(String path)
AccessManager
getPermissions
in interface AccessManager
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 |