| 
 | Java Platform 1.2 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Permission | |
| java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images. | 
| java.io | Provides for system input and output through data streams, serialization and the file system. | 
| java.lang | Provides classes that are fundamental to the design of the Java programming language. | 
| java.lang.reflect | Provides classes and interfaces for obtaining reflective information about classes and objects. | 
| java.net | Provides the classes for implementing networking applications. | 
| java.security | Provides the classes and interfaces for the security framework. | 
| java.util | Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). | 
| Uses of Permission in java.awt | 
| Subclasses of Permission in java.awt | |
|  class | AWTPermissionThis class is for AWT permissions. | 
| Uses of Permission in java.io | 
| Subclasses of Permission in java.io | |
|  class | FilePermissionThis class represents access to a file or directory. | 
|  class | SerializablePermissionThis class is for Serializable permissions. | 
| Methods in java.io with parameters of type Permission | |
|  boolean | FilePermission.implies(Permission p)Checks if this FilePermission object "implies" the specified permission. | 
| Uses of Permission in java.lang | 
| Subclasses of Permission in java.lang | |
|  class | RuntimePermissionThis class is for runtime permissions. | 
| Methods in java.lang with parameters of type Permission | |
|  void | SecurityManager.checkPermission(Permission perm)Throws a SecurityExceptionif the requested
 access, specified by the given permission, is not permitted based
 on the security policy currently in effect. | 
|  void | SecurityManager.checkPermission(Permission perm,
                Object context)Throws a SecurityExceptionif the
 specified security context is denied access to the resource
 specified by the given permission. | 
| Uses of Permission in java.lang.reflect | 
| Subclasses of Permission in java.lang.reflect | |
|  class | ReflectPermissionThe Permission class for reflective operations. | 
| Uses of Permission in java.net | 
| Subclasses of Permission in java.net | |
|  class | NetPermissionThis class is for various network permissions. | 
|  class | SocketPermissionThis class represents access to a network via sockets. | 
| Methods in java.net that return Permission | |
|  Permission | URLConnection.getPermission()Returns a permission object representing the permission necessary to make the connection represented by this object. | 
|  Permission | HttpURLConnection.getPermission() | 
| Methods in java.net with parameters of type Permission | |
|  boolean | SocketPermission.implies(Permission p)Checks if this socket permission object "implies" the specified permission. | 
| Uses of Permission in java.security | 
| Subclasses of Permission in java.security | |
|  class | AllPermissionThe AllPermission is a permission that implies all other permissions. | 
|  class | BasicPermissionThe BasicPermission class extends the Permission class, and can be used as the base class for permissions that want to follow the same naming convention as BasicPermission. | 
|  class | SecurityPermissionThis class is for security permissions. | 
|  class | UnresolvedPermissionThe UnresolvedPermission class is used to hold Permissions that were "unresolved" when the Policy was initialized. | 
| Methods in java.security that return Permission | |
|  Permission | AccessControlException.getPermission()Gets the Permission object associated with this exeception, or null if there was no corresponding Permission object. | 
| Methods in java.security with parameters of type Permission | |
| abstract  boolean | Permission.implies(Permission permission)Checks if the specified permission's actions are "implied by" this object's actions. | 
|  boolean | BasicPermission.implies(Permission p)Checks if the specified permission is "implied" by this object. | 
|  void | AccessControlContext.checkPermission(Permission perm)Determines whether the access request indicated by the specified permission should be allowed or denied, based on the security policy currently in effect, and the context in this object. | 
| abstract  void | PermissionCollection.add(Permission permission)Adds a permission object to the current collection of permission objects. | 
| abstract  boolean | PermissionCollection.implies(Permission permission)Checks to see if the specified permission is implied by the collection of Permission objects held in this PermissionCollection. | 
|  void | Permissions.add(Permission permission)Adds a permission object to the PermissionCollection for the class the permission belongs to. | 
|  boolean | Permissions.implies(Permission permission)Checks to see if this object's PermissionCollection for permissions of the specified permission's type implies the permissions expressed in the permission object. | 
|  boolean | UnresolvedPermission.implies(Permission p)This method always returns false for unresolved permissions. | 
|  boolean | ProtectionDomain.implies(Permission permission)Check and see if this ProtectionDomain implies the permissions expressed in the Permission object. | 
| static void | AccessController.checkPermission(Permission perm)Determines whether the access request indicated by the specified permission should be allowed or denied, based on the security policy currently in effect. | 
|  boolean | AllPermission.implies(Permission p)Checks if the specified permission is "implied" by this object. | 
| Constructors in java.security with parameters of type Permission | |
| AccessControlException.AccessControlException(String s,
                       Permission p)Constructs an AccessControlExceptionwith the
 specified, detailed message, and the requested permission that caused
 the exception. | |
| Uses of Permission in java.util | 
| Subclasses of Permission in java.util | |
|  class | PropertyPermissionThis class is for property permissions. | 
| Methods in java.util with parameters of type Permission | |
|  boolean | PropertyPermission.implies(Permission p)Checks if this PropertyPermission object "implies" the specified permission. | 
| 
 | Java Platform 1.2 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||