Method Summary |
|
public synchronized boolean | addPermission(Permission permission) Adds the specified permission to this ACL entry. |
public boolean | checkPermission(Permission permission) Checks if the specified permission is part of the permission set in this
entry.
Parameters: permission - the permission to be checked for. |
public synchronized Principal | getPrincipal() Returns the principal for which permissions are granted by this
ACL entry. |
public Enumeration | permissions() Returns an enumeration of the permissions in this ACL entry. |
public synchronized boolean | removePermission(Permission permission) Removes the specified permission from this ACL entry.
Parameters: permission - the permission to be removed from this entry. |
public synchronized boolean | setPrincipal(Principal user) Specifies the principal for which permissions are granted or denied by
this ACL entry. |
public String | toString() Returns a string representation of the contents of this ACL entry. |