Interface MutableAcl
- All Superinterfaces:
- Acl,- Serializable
- All Known Subinterfaces:
- AuditableAcl,- OwnershipAcl
- All Known Implementing Classes:
- AclImpl
A mutable Acl.
 
A mutable ACL must ensure that appropriate security checks are performed before allowing access to its methods.
- 
Method SummaryModifier and TypeMethodDescriptionvoiddeleteAce(int aceIndex) getId()Obtains an identifier that represents this MutableAcl.voidinsertAce(int atIndexLocation, Permission permission, Sid sid, boolean granting) voidsetEntriesInheriting(boolean entriesInheriting) Change the value returned byAcl.isEntriesInheriting().voidChanges the present owner to a different owner.voidChanges the parent of this ACL.voidupdateAce(int aceIndex, Permission permission) Methods inherited from interface org.springframework.security.acls.model.AclgetEntries, getObjectIdentity, getOwner, getParentAcl, isEntriesInheriting, isGranted, isSidLoaded
- 
Method Details- 
deleteAce- Throws:
- NotFoundException
 
- 
getIdSerializable getId()Obtains an identifier that represents this MutableAcl.- Returns:
- the identifier, or null if unsaved
 
- 
insertAcevoid insertAce(int atIndexLocation, Permission permission, Sid sid, boolean granting) throws NotFoundException - Throws:
- NotFoundException
 
- 
setOwnerChanges the present owner to a different owner.- Parameters:
- newOwner- the new owner (mandatory; cannot be null)
 
- 
setEntriesInheritingvoid setEntriesInheriting(boolean entriesInheriting) Change the value returned byAcl.isEntriesInheriting().- Parameters:
- entriesInheriting- the new value
 
- 
setParentChanges the parent of this ACL.- Parameters:
- newParent- the new parent
 
- 
updateAce- Throws:
- NotFoundException
 
 
-