Uses of Interface
java.security.acl.Permission
| Package | Description |
|---|---|
| java.security.acl |
This package provides the classes and the interfaces needed to build Access Control Lists.
|
-
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)Returns the set of allowed permissions for the specifiedPrincipal.Enumeration<Permission>AclEntry. permissions()Returns the list of permissions of this ACL entry.Methods in java.security.acl with parameters of type Permission Modifier and Type Method Description booleanAclEntry. addPermission(Permission permission)Adds the specified permission to this ACL entry.booleanAcl. checkPermission(Principal principal, Permission permission)Checks whether the specified principal is granted the specified permission.booleanAclEntry. checkPermission(Permission permission)Checks whether the specified permission is in this ACL entry.booleanAclEntry. removePermission(Permission permission)Removes the specified permission from this ACL entry.