Modifier and Type | Method and Description |
---|---|
boolean |
addEntry(Principal caller,
AclEntry entry) |
boolean |
checkPermission(Principal principal,
Permission permission) |
Enumeration |
entries() |
String |
getName() |
Enumeration |
getPermissions(Principal user) |
boolean |
removeEntry(Principal caller,
AclEntry entry) |
void |
setName(Principal caller,
String name) |
String |
toString()
Default String representation: overriden by many classes.
|
addOwner, deleteOwner, isOwner
boolean addEntry(Principal caller, AclEntry entry) throws NotOwnerException
NotOwnerException
boolean checkPermission(Principal principal, Permission permission)
Enumeration entries()
String getName()
Enumeration getPermissions(Principal user)
boolean removeEntry(Principal caller, AclEntry entry) throws NotOwnerException
NotOwnerException
void setName(Principal caller, String name) throws NotOwnerException
NotOwnerException