Generated by
JDiff

java.security.acl Documentation Differences

This file contains all the changes in documentation in the package java.security.acl as colored differences. Deletions are shown like this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.

Class Acl

Interface representing an Access Control List (ACL). An Access Control List is a data structure used to guard access to resources.

An ACL can be thought of as a data structure with multiple ACL entries. Each ACL entry of interface type AclEntry contains a set of permissions associated with a particular principal. (A principal represents an entity such as an individual user or a group). Additionally each ACL entry is specified as being either positive or negative. If positive the permissions are to be granted to the associated principal. If negative the permissions are to be denied.

The ACL Entries in each ACL observe the following rules:

The java.security.acl package provides the interfaces to the ACL and related data structures (ACL entries groups permissions etc.) and the sun.security.acl classes provide a default implementation of the interfaces. For example java.security.acl.Acl provides the interface to an ACL and the sun.security.acl.AclImpl class provides the default implementation of the interface.

The java.security.acl.Acl interface extends the java.security.acl.Owner interface. The Owner interface is used to maintain a list of owners for each ACL. Only owners are allowed to modify an ACL. For example only an owner can call the ACL's addEntry method to add a new ACL entry to the ACL. @see java.security.acl.AclEntry @see java.security.acl.Owner @see java.security.acl.Acl#getPermissions @version 1.16 9818 00/1202/0302 @author Satish Dharmaraj


Class AclEntry

This is the interface used for representing one entry in an Access Control List (ACL).

An ACL can be thought of as a data structure with multiple ACL entry objects. Each ACL entry object contains a set of permissions associated with a particular principal. (A principal represents an entity such as an individual user or a group). Additionally each ACL entry is specified as being either positive or negative. If positive the permissions are to be granted to the associated principal. If negative the permissions are to be denied. Each principal can have at most one positive ACL entry and one negative entry; that is multiple positive or negative ACL entries are not allowed for any principal. Note: ACL entries are by default positive. An entry becomes a negative entry only if the setNegativePermissions method is called on it. @see java.security.acl.Acl @author Satish Dharmaraj