## Uses of Interface
java.security.acl.Permission

- Packages that use Permission
  Package | Description
  --- | ---
  java.security.acl | The classes and interfaces in this package have been deprecated.

- - ### Uses of Permission in java.security.acl

    Methods in java.security.acl that return types with arguments of type Permission
    Modifier and Type | Method | Description
    --- | --- | ---
    `Enumeration<Permission>` | Acl.`getPermissions​(Principal user)` | Deprecated, for removal: This API element is subject to removal in a future version. Returns an enumeration for the set of allowed permissions for the specified principal (representing an entity such as an individual or a group).
    `Enumeration<Permission>` | AclEntry.`permissions()` | Deprecated, for removal: This API element is subject to removal in a future version. Returns an enumeration of the permissions in this ACL entry.

    Methods in java.security.acl with parameters of type Permission
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | AclEntry.`addPermission​(Permission permission)` | Deprecated, for removal: This API element is subject to removal in a future version. Adds the specified permission to this ACL entry.
    `boolean` | Acl.`checkPermission​(Principal principal, Permission permission)` | Deprecated, for removal: This API element is subject to removal in a future version. Checks whether or not the specified principal has the specified permission.
    `boolean` | AclEntry.`checkPermission​(Permission permission)` | Deprecated, for removal: This API element is subject to removal in a future version. Checks if the specified permission is part of the permission set in this entry.
    `boolean` | AclEntry.`removePermission​(Permission permission)` | Deprecated, for removal: This API element is subject to removal in a future version. Removes the specified permission from this ACL entry.