Uses of Class
java.security.ProtectionDomain
Packages that use ProtectionDomain
Package
Description
Provides classes that are fundamental to the design of the Java
programming language.
Provides services that allow Java programming language agents to instrument
programs running on the JVM.
Provides the classes and interfaces for the security framework.
This package provides a framework for authentication and
authorization.
-
Uses of ProtectionDomain in java.lang
Methods in java.lang that return ProtectionDomainModifier and TypeMethodDescriptionClass.getProtectionDomain()
Returns theProtectionDomain
of this class.Methods in java.lang with parameters of type ProtectionDomainModifier and TypeMethodDescriptionprotected final Class<?>
ClassLoader.defineClass
(String name, byte[] b, int off, int len, ProtectionDomain protectionDomain) Converts an array of bytes into an instance of classClass
, with a givenProtectionDomain
.protected final Class<?>
ClassLoader.defineClass
(String name, ByteBuffer b, ProtectionDomain protectionDomain) -
Uses of ProtectionDomain in java.lang.instrument
Methods in java.lang.instrument with parameters of type ProtectionDomainModifier and TypeMethodDescriptiondefault byte[]
ClassFileTransformer.transform
(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) Transforms the given class file and returns a new replacement class file.default byte[]
ClassFileTransformer.transform
(Module module, ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) Transforms the given class file and returns a new replacement class file. -
Uses of ProtectionDomain in java.security
Methods in java.security that return ProtectionDomainModifier and TypeMethodDescriptionDomainCombiner.combine
(ProtectionDomain[] currentDomains, ProtectionDomain[] assignedDomains) Deprecated, for removal: This API element is subject to removal in a future version.Modify or update the provided ProtectionDomains.Methods in java.security with parameters of type ProtectionDomainModifier and TypeMethodDescriptionDomainCombiner.combine
(ProtectionDomain[] currentDomains, ProtectionDomain[] assignedDomains) Deprecated, for removal: This API element is subject to removal in a future version.Modify or update the provided ProtectionDomains.protected PermissionCollection
PolicySpi.engineGetPermissions
(ProtectionDomain domain) Deprecated, for removal: This API element is subject to removal in a future version.Return a PermissionCollection object containing the set of permissions granted to the specified ProtectionDomain.protected abstract boolean
PolicySpi.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.Policy.getPermissions
(ProtectionDomain domain) Deprecated, for removal: This API element is subject to removal in a future version.Return a PermissionCollection object containing the set of permissions granted to the specified ProtectionDomain.boolean
Policy.implies
(ProtectionDomain domain, Permission permission) Deprecated, for removal: This API element is subject to removal in a future version.Evaluates the global policy for the permissions granted to the ProtectionDomain and tests whether the permission is granted.Constructors in java.security with parameters of type ProtectionDomainModifierConstructorDescriptionAccessControlContext
(ProtectionDomain[] context) Deprecated, for removal: This API element is subject to removal in a future version.Create an AccessControlContext with the given array of ProtectionDomains. -
Uses of ProtectionDomain in javax.security.auth
Methods in javax.security.auth that return ProtectionDomainModifier and TypeMethodDescriptionSubjectDomainCombiner.combine
(ProtectionDomain[] currentDomains, ProtectionDomain[] assignedDomains) Deprecated, for removal: This API element is subject to removal in a future version.Update the relevant ProtectionDomains with the Principals from theSubject
associated with thisSubjectDomainCombiner
.Methods in javax.security.auth with parameters of type ProtectionDomainModifier and TypeMethodDescriptionSubjectDomainCombiner.combine
(ProtectionDomain[] currentDomains, ProtectionDomain[] assignedDomains) Deprecated, for removal: This API element is subject to removal in a future version.Update the relevant ProtectionDomains with the Principals from theSubject
associated with thisSubjectDomainCombiner
.