站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.5.0, Java 2 SDK 英文文档

Uses of Interface java.security.acl.Permission (Java 2 Platform SE 5.0) - JDK 5 Documentation v1.5.0, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Ed. 5.0

Uses of Interface
java.security.acl.Permission

Packages that use Permission
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
 

Methods in java.security.acl that return types with arguments of type Permission
 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.
 

Methods in java.security.acl with parameters of type Permission
 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.
 


JavaTM 2 Platform
Standard Ed. 5.0

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.