Uses of Class
java.security.ProtectionDomain
| Package | Description |
|---|---|
| java.lang | |
| java.security |
Extensible cryptographic service provider infrastructure (SPI) for using
and defining services such as
Certificates,
Keys, KeyStores, MessageDigests, and Signatures. |
| javax.security.auth |
-
Uses of ProtectionDomain in java.lang
Methods in java.lang that return ProtectionDomain Modifier and Type Method Description ProtectionDomainClass. getProtectionDomain()Returns null.Methods in java.lang with parameters of type ProtectionDomain Modifier and Type Method Description protected Class<?>ClassLoader. defineClass(String className, byte[] classRep, int offset, int length, ProtectionDomain protectionDomain)Constructs a new class from an array of bytes containing a class definition in class file format and assigns the specified protection domain to the new class.protected Class<?>ClassLoader. defineClass(String name, ByteBuffer b, ProtectionDomain protectionDomain)Defines a new class with the specified name, byte code from the byte buffer and the optional protection domain. -
Uses of ProtectionDomain in java.security
Methods in java.security that return ProtectionDomain Modifier and Type Method Description ProtectionDomain[]DomainCombiner. combine(ProtectionDomain[] current, ProtectionDomain[] assigned)Returns a combination of the two providedProtectionDomainarrays.Methods in java.security with parameters of type ProtectionDomain Modifier and Type Method Description ProtectionDomain[]DomainCombiner. combine(ProtectionDomain[] current, ProtectionDomain[] assigned)Returns a combination of the two providedProtectionDomainarrays.protected PermissionCollectionPolicySpi. engineGetPermissions(ProtectionDomain domain)Answers a PermissionCollection object containing the set of permissions granted to the specified ProtectionDomain.protected abstract booleanPolicySpi. engineImplies(ProtectionDomain domain, Permission permission)Answers if the policy has granted a Permission to a ProtectionDomain.PermissionCollectionPolicy. getPermissions(ProtectionDomain domain)booleanPolicy. implies(ProtectionDomain domain, Permission permission)Constructors in java.security with parameters of type ProtectionDomain Constructor Description AccessControlContext(ProtectionDomain[] context) -
Uses of ProtectionDomain in javax.security.auth
Methods in javax.security.auth that return ProtectionDomain Modifier and Type Method Description ProtectionDomain[]SubjectDomainCombiner. combine(ProtectionDomain[] currentDomains, ProtectionDomain[] assignedDomains)Methods in javax.security.auth with parameters of type ProtectionDomain Modifier and Type Method Description ProtectionDomain[]SubjectDomainCombiner. combine(ProtectionDomain[] currentDomains, ProtectionDomain[] assignedDomains)