| Package | Description |
|---|---|
| java.lang |
Provides classes that are fundamental to the design of the Java programming language.
|
| java.lang.instrument |
Provides services that allow Java programming language agents to instrument programs running on the JVM.
|
| java.security |
Provides the classes and interfaces for the security framework.
|
| javax.security.auth |
This package provides a framework for authentication and authorization.
|
| Modifier and Type | Method and Description |
|---|---|
ProtectionDomain |
Class.getProtectionDomain()
Returns the
ProtectionDomain of this class.
|
| Modifier and Type | Method and Description |
|---|---|
protected Class |
ClassLoader.defineClass(String
Converts an array of bytes into an instance of class
Class, with an optional
ProtectionDomain.
|
protected Class |
ClassLoader.defineClass(String
Converts a
ByteBuffer into an instance of class
Class, with an optional
ProtectionDomain.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
ClassFileTransformer.transform(ClassLoader
The implementation of this method may transform the supplied class file and return a new replacement class file.
|
| Modifier and Type | Method and Description |
|---|---|
ProtectionDomain |
DomainCombiner.combine(ProtectionDomain
Modify or update the provided ProtectionDomains.
|
| Modifier and Type | Method and Description |
|---|---|
ProtectionDomain |
DomainCombiner.combine(ProtectionDomain
Modify or update the provided ProtectionDomains.
|
ProtectionDomain |
DomainCombiner.combine(ProtectionDomain
Modify or update the provided ProtectionDomains.
|
protected PermissionCollection |
PolicySpi.engineGetPermissions(ProtectionDomain
Return a PermissionCollection object containing the set of permissions granted to the specified ProtectionDomain.
|
protected abstract boolean |
PolicySpi.engineImplies(ProtectionDomain
Check whether the policy has granted a Permission to a ProtectionDomain.
|
PermissionCollection |
Policy.getPermissions(ProtectionDomain
Return a PermissionCollection object containing the set of permissions granted to the specified ProtectionDomain.
|
boolean |
Policy.implies(ProtectionDomain
Evaluates the global policy for the permissions granted to the ProtectionDomain and tests whether the permission is granted.
|
| Constructor and Description | |
|---|---|
AccessControlContext(ProtectionDomain
Create an AccessControlContext with the given array of ProtectionDomains.
|
| Modifier and Type | Method and Description |
|---|---|
ProtectionDomain |
SubjectDomainCombiner.combine(ProtectionDomain
Update the relevant ProtectionDomains with the Principals from the
Subject associated with this
SubjectDomainCombiner.
|
| Modifier and Type | Method and Description |
|---|---|
ProtectionDomain |
SubjectDomainCombiner.combine(ProtectionDomain
Update the relevant ProtectionDomains with the Principals from the
Subject associated with this
SubjectDomainCombiner.
|
ProtectionDomain |
SubjectDomainCombiner.combine(ProtectionDomain
Update the relevant ProtectionDomains with the Principals from the
Subject associated with this
SubjectDomainCombiner.
|