API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.security.acl. Acl View Source
Author(s)
Satish Dharmaraj
Since
Version
1.24, 05/11/17
Serial
Hierarchy
 Owner
      Acl
Subinterfaces
Description
public interface Acl
  Interface representing an Access Control List (ACL).
Methods
Hide/Show inherited methods
public boolean addEntry (Principal caller, AclEntry entry) throws NotOwnerException
  Adds an ACL entry to this ACL.
public boolean checkPermission (Principal principal, Permission permission)
  Checks whether or not the specified principal has the specified permission.
public Enumeration<AclEntry> entries ()
  Returns an enumeration of the entries in this ACL.
public String getName ()
  Returns the name of this ACL.
public Enumeration<Permission> getPermissions (Principal user)
  Returns an enumeration for the set of allowed permissions for the specified principal (representing an entity such as an individual or a group).
public boolean removeEntry (Principal caller, AclEntry entry) throws NotOwnerException
  Removes an ACL entry from this ACL.
public void setName (Principal caller, String name) throws NotOwnerException
  Sets the name of this ACL.
public String toString ()
  Returns a string representation of the ACL contents.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar