java.security.acl
Interface Acl
- All Superinterfaces:
- Owner
public interface Acl
- extends Owner
setName
void setName(Principal caller,
String name)
throws NotOwnerException
- Throws:
NotOwnerException
getName
String getName()
addEntry
boolean addEntry(Principal caller,
AclEntry entry)
throws NotOwnerException
- Throws:
NotOwnerException
removeEntry
boolean removeEntry(Principal caller,
AclEntry entry)
throws NotOwnerException
- Throws:
NotOwnerException
getPermissions
Enumeration<Permission> getPermissions(Principal user)
entries
Enumeration<AclEntry> entries()
checkPermission
boolean checkPermission(Principal principal,
Permission permission)
toString
String toString()
- Description copied from class:
Object
- Returns a string containing a concise, human-readable description of the
receiver.
- Overrides:
toString in class Object
- Returns:
- String a printable representation for the receiver.
Please submit a feedback, bug or feature