Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Package | Description |
---|---|
java.security.acl | The classes and interfaces in this package have been superseded by classes in the java.security package. |
Uses of Permission in java.security.acl |
---|
Modifier and Type | Method and Description |
---|---|
Enumeration<Permission> |
Acl.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). |
Enumeration<Permission> |
AclEntry.permissions()
Returns an enumeration of the permissions in this ACL entry. |
Modifier and Type | Method and Description |
---|---|
boolean |
AclEntry.addPermission(Permission permission)
Adds the specified permission to this ACL entry. |
boolean |
AclEntry.checkPermission(Permission permission)
Checks if the specified permission is part of the permission set in this entry. |
boolean |
Acl.checkPermission(Principal principal,
Permission permission)
Checks whether or not the specified principal has the specified permission. |
boolean |
AclEntry.removePermission(Permission permission)
Removes the specified permission from this ACL entry. |
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.