Uses of Class
java.security.Permission
Packages that use Permission
Package
Description
This is the core package of the Java Debug
Interface (JDI), it defines mirrors for values, types, and the target
VirtualMachine itself - as well bootstrapping facilities.
This package defines classes and interfaces for the JDK extensions
to the GSS-API.
Provides the API to attach to a Java virtual machine.
Contains all of the classes for creating user interfaces and for painting
graphics and images.
Provides for system input and output through data streams,
serialization and the file system.
Provides classes that are fundamental to the design of the Java
programming language.
Provides the management interfaces for monitoring and management of the
Java virtual machine and other components in the Java runtime.
Provides classes and interfaces for obtaining reflective information about
classes and objects.
Provides the classes for implementing networking applications.
Defines interfaces and classes for the Java virtual machine to access files,
file attributes, and file systems.
Provides the classes and interfaces for the security framework.
Provides the API for accessing and processing data stored in a
data source (usually a relational database) using the
Java programming language.
Contains the collections framework, some internationalization support classes,
a service loader, properties, random number generation, string parsing
and scanning classes, base64 encoding and decoding, a bit array, and
several miscellaneous utility classes.
Provides the classes and interfaces of
the Java 2 platform's core logging facilities.
Provides the core classes for the Java Management Extensions.
Interfaces for remote access to
JMX MBean servers.
Provides classes for the secure socket package.
This package provides a framework for authentication and
authorization.
This package contains utility classes related to the Kerberos network
authentication protocol.
Java™ Smart Card I/O API.
Provides interfaces and classes for capture, processing, and playback of
sampled audio data.
This package provides classes to create events and control Flight Recorder.
Platform specific socket options for the 
java.net and java.nio.channels
socket classes.- 
Uses of Permission in com.sun.jdiSubclasses of Permission in com.sun.jdiModifier and TypeClassDescriptionfinal classDeprecated, for removal: This API element is subject to removal in a future version.This class was only useful in conjunction with the Security Manager, which is no longer supported.
- 
Uses of Permission in com.sun.security.jgssSubclasses of Permission in com.sun.security.jgssModifier and TypeClassDescriptionfinal classDeprecated, for removal: This API element is subject to removal in a future version.This permission cannot be used for controlling access to resources as the Security Manager is no longer supported.
- 
Uses of Permission in com.sun.tools.attachSubclasses of Permission in com.sun.tools.attachModifier and TypeClassDescriptionfinal classDeprecated, for removal: This API element is subject to removal in a future version.This class was only useful in conjunction with the Security Manager, which is no longer supported.
- 
Uses of Permission in java.awtSubclasses of Permission in java.awtModifier and TypeClassDescriptionfinal classDeprecated, for removal: This API element is subject to removal in a future version.There is no replacement for this class.
- 
Uses of Permission in java.ioSubclasses of Permission in java.ioModifier and TypeClassDescriptionfinal classDeprecated, for removal: This API element is subject to removal in a future version.This permission cannot be used for controlling access to resources as the Security Manager is no longer supported.final classDeprecated, for removal: This API element is subject to removal in a future version.This permission cannot be used for controlling access to resources as the Security Manager is no longer supported.Methods in java.io with parameters of type PermissionModifier and TypeMethodDescriptionbooleanFilePermission.implies(Permission p) Deprecated, for removal: This API element is subject to removal in a future version.Checks if this FilePermission object "implies" the specified permission.
- 
Uses of Permission in java.langSubclasses of Permission in java.langModifier and TypeClassDescriptionfinal classDeprecated, for removal: This API element is subject to removal in a future version.This permission cannot be used for controlling access to resources as the Security Manager is no longer supported.Methods in java.lang with parameters of type PermissionModifier and TypeMethodDescriptionvoidSecurityManager.checkPermission(Permission perm) Deprecated, for removal: This API element is subject to removal in a future version.ThrowsSecurityException.voidSecurityManager.checkPermission(Permission perm, Object context) Deprecated, for removal: This API element is subject to removal in a future version.ThrowsSecurityException.
- 
Uses of Permission in java.lang.managementSubclasses of Permission in java.lang.managementModifier and TypeClassDescriptionfinal classDeprecated, for removal: This API element is subject to removal in a future version.This class was only useful in conjunction with the Security Manager, which is no longer supported.
- 
Uses of Permission in java.lang.reflectSubclasses of Permission in java.lang.reflectModifier and TypeClassDescriptionfinal classDeprecated, for removal: This API element is subject to removal in a future version.This permission cannot be used for controlling access to resources as the Security Manager is no longer supported.
- 
Uses of Permission in java.netSubclasses of Permission in java.netModifier and TypeClassDescriptionfinal classDeprecated, for removal: This API element is subject to removal in a future version.This permission cannot be used for controlling access to resources as the Security Manager is no longer supported.final classThis class represents access to a network via sockets.final classDeprecated, for removal: This API element is subject to removal in a future version.This permission cannot be used for controlling access to resources as the Security Manager is no longer supported.Methods in java.net that return PermissionModifier and TypeMethodDescriptionHttpURLConnection.getPermission()Deprecated, for removal: This API element is subject to removal in a future version.Permissions can no longer be used for controlling access to resources as the Security Manager is no longer supported.URLConnection.getPermission()Deprecated, for removal: This API element is subject to removal in a future version.Permissions can no longer be used for controlling access to resources as the Security Manager is no longer supported.Methods in java.net with parameters of type PermissionModifier and TypeMethodDescriptionbooleanSocketPermission.implies(Permission p) Checks if this socket permission object "implies" the specified permission.booleanURLPermission.implies(Permission p) Deprecated, for removal: This API element is subject to removal in a future version.Checks if this URLPermission implies the given permission.
- 
Uses of Permission in java.nio.fileSubclasses of Permission in java.nio.fileModifier and TypeClassDescriptionfinal classDeprecated, for removal: This API element is subject to removal in a future version.This permission cannot be used for controlling access to resources as the Security Manager is no longer supported.
- 
Uses of Permission in java.securitySubclasses of Permission in java.securityModifier and TypeClassDescriptionfinal classTheAllPermissionis a permission that implies all other permissions.classTheBasicPermissionclass extends thePermissionclass, and can be used as the base class for permissions that want to follow the same naming convention asBasicPermission.final classDeprecated, for removal: This API element is subject to removal in a future version.This permission cannot be used for controlling access to resources as the Security Manager is no longer supported.final classDeprecated, for removal: This API element is subject to removal in a future version.This permission cannot be used for controlling access to resources as the Security Manager is no longer supported.Methods in java.security that return PermissionModifier and TypeMethodDescriptionAccessControlException.getPermission()Deprecated, for removal: This API element is subject to removal in a future version.Gets thePermissionobject associated with this exception, ornullif there was no correspondingPermissionobject.Methods in java.security that return types with arguments of type PermissionModifier and TypeMethodDescriptionabstract Enumeration<Permission> PermissionCollection.elements()Returns an enumeration of all the Permission objects in the collection.Permissions.elements()Returns an enumeration of all thePermissionobjects in all thePermissionCollectionobjects in thisPermissionsobject.PermissionCollection.elementsAsStream()Returns a stream of all the Permission objects in the collection.Methods in java.security with parameters of type PermissionModifier and TypeMethodDescriptionabstract voidPermissionCollection.add(Permission permission) Adds a permission object to the current collection of permission objects.voidPermissions.add(Permission permission) Adds aPermissionobject to thePermissionCollectionfor the class the permission belongs to.voidAccessControlContext.checkPermission(Permission perm) Deprecated, for removal: This API element is subject to removal in a future version.ThrowsAccessControlException.static voidAccessController.checkPermission(Permission perm) Deprecated, for removal: This API element is subject to removal in a future version.ThrowsAccessControlException.static <T> TAccessController.doPrivileged(PrivilegedAction<T> action, AccessControlContext context, Permission... perms) Deprecated, for removal: This API element is subject to removal in a future version.Performs the specified action.static <T> TAccessController.doPrivileged(PrivilegedExceptionAction<T> action, AccessControlContext context, Permission... perms) Deprecated, for removal: This API element is subject to removal in a future version.Performs the specified action.static <T> TAccessController.doPrivilegedWithCombiner(PrivilegedAction<T> action, AccessControlContext context, Permission... perms) Deprecated, for removal: This API element is subject to removal in a future version.Performs the specified action.static <T> TAccessController.doPrivilegedWithCombiner(PrivilegedExceptionAction<T> action, AccessControlContext context, Permission... perms) Deprecated, for removal: This API element is subject to removal in a future version.Performs the specified action.protected abstract booleanPolicySpi.engineImplies(ProtectionDomain domain, Permission permission) Deprecated, for removal: This API element is subject to removal in a future version.Check whether the policy has granted a Permission to a ProtectionDomain.booleanAllPermission.implies(Permission p) Checks if the specified permission is "implied" by this object.booleanBasicPermission.implies(Permission p) Checks if the specified permission is "implied" by this object.abstract booleanPermission.implies(Permission permission) Checks if the specified permission's actions are "implied by" this object's actions.abstract booleanPermissionCollection.implies(Permission permission) Checks to see if the specified permission is implied by the collection ofPermissionobjects held in thisPermissionCollection.booleanPermissions.implies(Permission permission) Checks to see if this object'sPermissionCollectionfor permissions of the specified permission's class implies the permissions expressed in the permission object.booleanPolicy.implies(ProtectionDomain domain, Permission permission) Deprecated, for removal: This API element is subject to removal in a future version.Evaluates the permissions granted to the ProtectionDomain and tests whether the permission is granted.booleanProtectionDomain.implies(Permission perm) Check and see if thisProtectionDomainimplies the permissions expressed in thePermissionobject.booleanUnresolvedPermission.implies(Permission p) Deprecated, for removal: This API element is subject to removal in a future version.This method always returnsfalsefor unresolved permissions.Constructors in java.security with parameters of type PermissionModifierConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Constructs anAccessControlExceptionwith the specified, detailed message, and the requested permission that caused the exception.
- 
Uses of Permission in java.sqlSubclasses of Permission in java.sqlModifier and TypeClassDescriptionfinal classASQLPermissionobject contains a name (also referred to as a "target name") but no actions list; there is either a named permission or there is not.
- 
Uses of Permission in java.utilSubclasses of Permission in java.utilModifier and TypeClassDescriptionfinal classDeprecated, for removal: This API element is subject to removal in a future version.This permission cannot be used for controlling access to resources as the Security Manager is no longer supported.Methods in java.util with parameters of type PermissionModifier and TypeMethodDescriptionbooleanPropertyPermission.implies(Permission p) Deprecated, for removal: This API element is subject to removal in a future version.Checks if this PropertyPermission object "implies" the specified permission.
- 
Uses of Permission in java.util.loggingSubclasses of Permission in java.util.loggingModifier and TypeClassDescriptionfinal classDeprecated, for removal: This API element is subject to removal in a future version.This permission cannot be used for controlling access to resources as the Security Manager is no longer supported.
- 
Uses of Permission in javax.managementSubclasses of Permission in javax.managementModifier and TypeClassDescriptionclassDeprecated, for removal: This API element is subject to removal in a future version.This class was only useful in conjunction with the Security Manager, which is no longer supported.classDeprecated, for removal: This API element is subject to removal in a future version.This class was only useful in conjunction with the Security Manager, which is no longer supported.classDeprecated, for removal: This API element is subject to removal in a future version.This class was only useful in conjunction with the Security Manager, which is no longer supported.Methods in javax.management with parameters of type PermissionModifier and TypeMethodDescriptionbooleanMBeanPermission.implies(Permission p) Deprecated, for removal: This API element is subject to removal in a future version.Checks if this MBeanPermission object "implies" the specified permission.booleanMBeanServerPermission.implies(Permission p) Deprecated, for removal: This API element is subject to removal in a future version.Checks if this MBeanServerPermission object "implies" the specified permission.
- 
Uses of Permission in javax.management.remoteSubclasses of Permission in javax.management.remoteModifier and TypeClassDescriptionfinal classDeprecated, for removal: This API element is subject to removal in a future version.This class was only useful in conjunction with the Security Manager, which is no longer supported.
- 
Uses of Permission in javax.net.sslSubclasses of Permission in javax.net.sslModifier and TypeClassDescriptionfinal classDeprecated, for removal: This API element is subject to removal in a future version.This permission cannot be used for controlling access to resources as the Security Manager is no longer supported.
- 
Uses of Permission in javax.security.authSubclasses of Permission in javax.security.authModifier and TypeClassDescriptionfinal classDeprecated, for removal: This API element is subject to removal in a future version.This permission cannot be used for controlling access to resources as the Security Manager is no longer supported.final classDeprecated, for removal: This API element is subject to removal in a future version.This permission cannot be used for controlling access to resources as the Security Manager is no longer supported.Methods in javax.security.auth with parameters of type PermissionModifier and TypeMethodDescriptionbooleanPrivateCredentialPermission.implies(Permission p) Deprecated, for removal: This API element is subject to removal in a future version.Checks if thisPrivateCredentialPermissionimplies the specifiedPermission.
- 
Uses of Permission in javax.security.auth.kerberosSubclasses of Permission in javax.security.auth.kerberosModifier and TypeClassDescriptionfinal classDeprecated, for removal: This API element is subject to removal in a future version.This permission cannot be used for controlling access to resources as the Security Manager is no longer supported.final classDeprecated, for removal: This API element is subject to removal in a future version.This permission cannot be used for controlling access to resources as the Security Manager is no longer supported.Methods in javax.security.auth.kerberos with parameters of type PermissionModifier and TypeMethodDescriptionbooleanDelegationPermission.implies(Permission p) Deprecated, for removal: This API element is subject to removal in a future version.Checks if this Kerberos delegation permission object "implies" the specified permission.booleanServicePermission.implies(Permission p) Deprecated, for removal: This API element is subject to removal in a future version.Checks if this Kerberos service permission object "implies" the specified permission.
- 
Uses of Permission in javax.smartcardioSubclasses of Permission in javax.smartcardioMethods in javax.smartcardio with parameters of type PermissionModifier and TypeMethodDescriptionbooleanCardPermission.implies(Permission permission) Checks if this CardPermission object implies the specified permission.
- 
Uses of Permission in javax.sound.sampledSubclasses of Permission in javax.sound.sampledModifier and TypeClassDescriptionclassDeprecated, for removal: This API element is subject to removal in a future version.There is no replacement for this class.
- 
Uses of Permission in jdk.jfrSubclasses of Permission in jdk.jfrModifier and TypeClassDescriptionfinal classDeprecated, for removal: This API element is subject to removal in a future version.This permission cannot be used for controlling access to resources as the Security Manager is no longer supported.
- 
Uses of Permission in jdk.netSubclasses of Permission in jdk.netModifier and TypeClassDescriptionfinal classDeprecated, for removal: This API element is subject to removal in a future version.This permission cannot be used for controlling access to resources as the Security Manager is no longer supported.