API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.security.acl. AclEntry View Source
Author(s)
Satish Dharmaraj
Since
Version
Serial
Hierarchy
 Cloneable
      AclEntry
Subinterfaces
Description
public interface AclEntry
  This is the interface used for representing one entry in an Access Control List (ACL).
See also:    Acl
Methods
Hide/Show inherited methods
public 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.
public Object clone ()
  Clones this ACL entry.
public Principal getPrincipal ()
  Returns the principal for which permissions are granted or denied by this ACL entry.
public boolean isNegative ()
  Returns true if this is a negative ACL entry (one denying the associated principal the set of permissions in the entry), false otherwise.
public Enumeration<Permission> permissions ()
  Returns an enumeration of the permissions in 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 a negative one.
public 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.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar