Uses of Class
java.security.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 Java Virtual Machine (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
Modifier and TypeMethodDescriptionClass.getProtectionDomain()
Returns theProtectionDomain
of this class.Modifier 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
Modifier 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
Modifier 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.Modifier 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.ModifierConstructorDescriptionAccessControlContext
(ProtectionDomain[] context) Deprecated, for removal: This API element is subject to removal in a future version.Create anAccessControlContext
with the given array ofProtectionDomain
objects. -
Uses of ProtectionDomain in javax.security.auth
Modifier 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
.Modifier 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
.