SEC-697: Add setOwner(Sid) to MutableAcl interface.

This commit is contained in:
Ben Alex 2008-04-05 03:08:45 +00:00
parent 337155f0ea
commit af9715c168
1 changed files with 7 additions and 0 deletions

View File

@ -56,6 +56,13 @@ public interface MutableAcl extends Acl {
void insertAce(Serializable afterAceId, Permission permission, Sid sid, boolean granting)
throws NotFoundException;
/**
* Changes the present owner to a different owner.
*
* @param newOwner the new owner (mandatory; cannot be null)
*/
void setOwner(Sid newOwner);
/**
* Change the value returned by {@link Acl#isEntriesInheriting()}.
*