|
||||||||||
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(MutableAcl 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
NotFoundException
AccessControlEntry[] 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 Acl
Serializable getId()
MutableAcl
.
null
if unsavedvoid insertAce(Serializable afterAceId, Permission permission, Sid sid, boolean granting) throws NotFoundException
NotFoundException
void setEntriesInheriting(boolean entriesInheriting)
Acl.isEntriesInheriting()
.
entriesInheriting
- the new valuevoid setParent(MutableAcl newParent)
newParent
- the new parentvoid updateAce(Serializable aceId, Permission permission) throws NotFoundException
NotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |