|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VACL
Implementation of AccessControlList (ACL) interface.
The ACL consists of a VAttribute Matrix where each row
in the matrix, for example acl[rows][columns], represents
an ACL Record.
The column represents the ACL Record attributes.
Field Summary | |
---|---|
static java.lang.String |
GROUP_ENTITY
|
static java.lang.String |
PERM_ACCESSABLE
'x' for directories |
static java.lang.String |
PERM_EXECUTABLE
'x' for files |
static java.lang.String |
PERM_READABLE
|
static java.lang.String |
PERM_WRITABLE
|
static java.lang.String |
USER_ENTITY
|
static java.lang.String |
WORLD_ENTITY
|
Method Summary | |
---|---|
VAttribute[] |
createACLRecord(VAttribute entity,
boolean writeThrough)
Returns a new 'row' or ACLRecord for the entity. |
boolean |
deleteACLEntity(VAttribute entity)
Remove the entity from the ACL list, effectively removing all permission settings associated with the entity (Although this depends on the default permissions of the implementation). |
VAttribute[][] |
getACL()
Get a modifyable attribute matrix which represents the ACL list. |
VAttribute[] |
getACLEntities()
Returns list of all possible 'entities' which can have an ACL record entry in the list. |
void |
setACL(VAttribute[][] acl)
Set the modified ACL list |
Field Detail |
---|
static final java.lang.String USER_ENTITY
static final java.lang.String GROUP_ENTITY
static final java.lang.String WORLD_ENTITY
static final java.lang.String PERM_READABLE
static final java.lang.String PERM_WRITABLE
static final java.lang.String PERM_EXECUTABLE
static final java.lang.String PERM_ACCESSABLE
Method Detail |
---|
VAttribute[][] getACL() throws VlException
VlException
void setACL(VAttribute[][] acl) throws VlException
VlException
VAttribute[] getACLEntities() throws VlException
VlException
VAttribute[] createACLRecord(VAttribute entity, boolean writeThrough) throws VlException
entity
- writeThrough
-
VlException
boolean deleteACLEntity(VAttribute entity) throws VlException
entity
-
VlException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |