|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Definition of an Access Control List Hierarchy
This interface defines an Access Control List Hierarchy. With this, it is possible to check if a principal has a specific permission for an object or his parents.
| Method Summary | |
void |
checkPermission(java.lang.String[] objectIds,
IPrincipal principal,
java.lang.String permission)
This method checks if a principal can perform a permission on the specified object ID array. |
boolean |
isAllowed(java.lang.String[] objectIds,
IPrincipal principal,
java.lang.String permission)
This method checks, if a principal can perform a permission on the specified object ID array. |
void |
propagade(IPrincipal caller,
java.lang.String rootObjectID,
java.lang.String[] childrenObjectIds)
This method propagades the ACEs from the root of the subtree to his nodes and leaves. |
| Method Detail |
public boolean isAllowed(java.lang.String[] objectIds,
IPrincipal principal,
java.lang.String permission)
throws UMException
objectIds - This object ID array represent the parent object IDs (the way from the specified object ID
to the parent nodes up to the roof).principal - the principal which has to be checked.permission - the permission which has to be checked.UMException - if the data cannot be read.
public void propagade(IPrincipal caller,
java.lang.String rootObjectID,
java.lang.String[] childrenObjectIds)
throws UMException
caller - a principal who has to be the owner of the root ACLrootObjectID - a String which represents the root of the subtree. His ACEs will be propagated.childrenObjectIds - a String array which represents all child object IDs under the root of the subtree.UMException - if the data cannot be set.
public void checkPermission(java.lang.String[] objectIds,
IPrincipal principal,
java.lang.String permission)
throws UMException
objectIds - This object ID array represent the parent object IDs (the way from the specified object ID
to the parent nodes up to the roof)principal - the principal which has to be checkedpermission - the permission which has to be checkedUMException - if the principal has not the specified permission
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||