|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MutableAcl
A mutable Acl.
A mutable ACL must ensure that appropriate security checks are performed before allowing access to its methods.
| Method Summary | |
|---|---|
void |
deleteAce(Serializable aceId)
|
AccessControlEntry[] |
getEntries()
Retrieves all of the non-deleted AccessControlEntry instances currently stored by the
MutableAcl. |
Serializable |
getId()
Obtains an identifier that represents this MutableAcl. |
void |
insertAce(Serializable afterAceId,
Permission permission,
Sid sid,
boolean granting)
|
void |
setEntriesInheriting(boolean entriesInheriting)
Change the value returned by Acl.isEntriesInheriting(). |
void |
setParent(Acl newParent)
Changes the parent of this ACL. |
void |
updateAce(Serializable aceId,
Permission permission)
|
| Methods inherited from interface org.acegisecurity.acls.Acl |
|---|
getObjectIdentity, getOwner, getParentAcl, isEntriesInheriting, isGranted, isSidLoaded |
| Method Detail |
|---|
void deleteAce(Serializable aceId)
throws NotFoundException
NotFoundExceptionAccessControlEntry[] getEntries()
AccessControlEntry instances currently stored by the
MutableAcl. The returned objects should be immutable outside the package, and therefore it is safe
to return them to the caller for informational purposes. The AccessControlEntry information is
needed so that invocations of update and delete methods on the MutableAcl can refer to a valid
AccessControlEntry.getId().
getEntries in interface AclSerializable getId()
MutableAcl.
null if unsaved
void insertAce(Serializable afterAceId,
Permission permission,
Sid sid,
boolean granting)
throws NotFoundException
NotFoundExceptionvoid setEntriesInheriting(boolean entriesInheriting)
Acl.isEntriesInheriting().
entriesInheriting - the new valuevoid setParent(Acl newParent)
newParent - the new parent
void updateAce(Serializable aceId,
Permission permission)
throws NotFoundException
NotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||