Methods Summary |
---|
public boolean | addPermission(Permission permission)Adds the specified permission to this ACL entry.
|
public boolean | checkPermission(Permission permission)Checks whether the specified permission is in this ACL entry.
|
public java.lang.Object | clone()Clones this ACL entry instance.
|
public java.security.Principal | getPrincipal()Returns the principal of this ACL entry.
|
public boolean | isNegative()Returns whether this ACL entry is negative.
|
public java.util.Enumeration | permissions()Returns the list of permissions of this ACL entry.
|
public boolean | removePermission(Permission permission)Removes the specified permission from this ACL entry.
|
public void | setNegativePermissions()Sets this ACL entry to be negative.
The permissions in this ACL entry will be denied to the principal
associated with this entry.
Note: An ACL entry is positive by default and can only become
negative by calling this method.
|
public boolean | setPrincipal(java.security.Principal user)Set the principal for this ACL entry.
The principal for an ACL entry can only be set once.
|
public java.lang.String | toString()Returns the string representation of this ACL entry.
|