AclEntry (Java Platform SE 8 ) (original) (raw)

public final class AclEntry
extends Object
An entry in an access control list (ACL).
The ACL entry represented by this class is based on the ACL model specified in RFC 3530: Network File System (NFS) version 4 Protocol. Each entry has four components as follows:

  1. The type component determines if the entry grants or denies access.
  2. The principal component, sometimes called the "who" component, is a UserPrincipal corresponding to the identity that the entry grants or denies access
  3. The permissions component is a set ofpermissions
  4. The flags component is a set of flags to indicate how entries are inherited and propagated
    ACL entries are created using an associated AclEntry.Builder object by invoking its build method.
    ACL entries are immutable and are safe for use by multiple concurrent threads.
    Since:
    1.7

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.