public interface MutableAcl extends Acl
A mutable ACL must ensure that appropriate security checks are performed before allowing access to its methods.
Modifier and Type | Method and Description |
---|---|
void |
deleteAce(int aceIndex) |
java.io.Serializable |
getId()
Obtains an identifier that represents this MutableAcl.
|
void |
insertAce(int atIndexLocation,
Permission permission,
Sid sid,
boolean granting) |
void |
setEntriesInheriting(boolean entriesInheriting)
Change the value returned by
Acl.isEntriesInheriting() . |
void |
setOwner(Sid newOwner)
Changes the present owner to a different owner.
|
void |
setParent(Acl newParent)
Changes the parent of this ACL.
|
void |
updateAce(int aceIndex,
Permission permission) |
getEntries, getObjectIdentity, getOwner, getParentAcl, isEntriesInheriting, isGranted, isSidLoaded
void deleteAce(int aceIndex) throws NotFoundException
NotFoundException
java.io.Serializable getId()
void insertAce(int atIndexLocation, Permission permission, Sid sid, boolean granting) throws NotFoundException
NotFoundException
void setOwner(Sid newOwner)
newOwner
- the new owner (mandatory; cannot be null)void setEntriesInheriting(boolean entriesInheriting)
Acl.isEntriesInheriting()
.entriesInheriting
- the new valuevoid setParent(Acl newParent)
newParent
- the new parentvoid updateAce(int aceIndex, Permission permission) throws NotFoundException
NotFoundException