java.security.acl
Interface Acl
- All Superinterfaces:
- Owner
public interface Acl
- extends Owner
setName
void setName(Principal principal,
String s)
throws NotOwnerException
- Throws:
NotOwnerException
getName
String getName()
addEntry
boolean addEntry(Principal principal,
AclEntry aclentry)
throws NotOwnerException
- Throws:
NotOwnerException
removeEntry
boolean removeEntry(Principal principal,
AclEntry aclentry)
throws NotOwnerException
- Throws:
NotOwnerException
getPermissions
Enumeration getPermissions(Principal principal)
entries
Enumeration entries()
checkPermission
boolean checkPermission(Principal principal,
Permission permission)
toString
String toString()
- 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