/libcore/luni/src/main/java/java/security/ |
DomainCombiner.java | 26 * Returns a combination of the two provided {@code ProtectionDomain} 34 * @return a single {@code ProtectionDomain} array computed from the two 37 ProtectionDomain[] combine(ProtectionDomain[] current, ProtectionDomain[] assigned);
|
ProtectionDomain.java | 23 public class ProtectionDomain { 24 public ProtectionDomain(CodeSource cs, PermissionCollection permissions) { } 26 public ProtectionDomain(CodeSource cs, PermissionCollection permissions, ClassLoader cl, Principal[] principals) { }
|
PolicySpi.java | 40 * ProtectionDomain. 50 protected abstract boolean engineImplies(ProtectionDomain domain, 91 * granted to the specified ProtectionDomain. 96 * ProtectionDomain. 99 * the ProtectionDomain to which the returned 101 * @return a set of permissions granted to the specified ProtectionDomain. 107 protected PermissionCollection engineGetPermissions(ProtectionDomain domain) {
|
AccessControlContext.java | 42 public AccessControlContext(ProtectionDomain[] context) { }
|
SecureClassLoader.java | 31 private HashMap<CodeSource, ProtectionDomain> pds = new HashMap<CodeSource, ProtectionDomain>(); 61 // Do nothing by default, ProtectionDomain will take care about 123 // Constructs and caches ProtectionDomain for the given CodeSource 128 // @return ProtectionDomain for the passed CodeSource object 129 private ProtectionDomain getPD(CodeSource cs) { 134 // will have it's own ProtectionDomain, which does not look right. 135 ProtectionDomain pd; 141 pd = new ProtectionDomain(cs, perms, this, null);
|
Policy.java | 51 public PermissionCollection getPermissions(ProtectionDomain domain) { return null; } 53 public boolean implies(ProtectionDomain domain, Permission permission) { return true; }
|
/libcore/luni/src/main/java/javax/security/auth/ |
SubjectDomainCombiner.java | 21 import java.security.ProtectionDomain; 31 public ProtectionDomain[] combine(ProtectionDomain[] currentDomains, ProtectionDomain[] assignedDomains) { return null; }
|
/external/apache-harmony/security/src/test/api/java/tests/api/java/security/ |
DomainCombinerTest.java | 30 import java.security.ProtectionDomain; 37 * @tests java.security.DomainCombiner#combine(java.security.ProtectionDomain[], 38 * java.security.ProtectionDomain[]) 50 public ProtectionDomain[] combine( 51 ProtectionDomain[] executionDomains, 52 ProtectionDomain[] parentDomains) { 56 ProtectionDomain pd; 60 pd = new ProtectionDomain(executionDomains[0] 63 pd = new ProtectionDomain(parentDomains[0].getCodeSource(), 66 return new ProtectionDomain[] { pd } [all...] |
AccessControlContextTest.java | 24 import java.security.ProtectionDomain; 30 * @tests java.security.AccessControlContext#AccessControlContext(java.security.ProtectionDomain[]) 34 // java.security.AccessControlContext(java.security.ProtectionDomain []) 41 final ProtectionDomain pd = new ProtectionDomain(null, col); 43 new ProtectionDomain[] { pd }); 54 new ProtectionDomain[] { pd });
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
ProtectionDomainTest.java | 32 * Unit tests for java.security.ProtectionDomain. 70 * Class under test for void ProtectionDomain(CodeSource, 74 new ProtectionDomain(null, null); 75 new ProtectionDomain(cs, null); 77 new ProtectionDomain(cs, perms); 85 new ProtectionDomain(null, perms); 90 * Test for ProtectionDomain(CodeSource, PermissionCollection, ClassLoader, Principal[]) 93 new ProtectionDomain(null, null, null, null); 95 new ProtectionDomain(cs, null, null, null); 96 new ProtectionDomain(null, perms, null, null) [all...] |
SecureClassLoader2Test.java | 25 import java.security.ProtectionDomain; 49 (ProtectionDomain) null); 68 ProtectionDomain pd = c.getProtectionDomain();
|
/external/smack/src/org/apache/harmony/javax/security/auth/ |
SubjectDomainCombiner.java | 22 import java.security.ProtectionDomain; 67 * Merges the {@code ProtectionDomain} with the {@code Principal}s 71 * the {@code ProtectionDomain}s associated with the context of 76 * the {@code ProtectionDomain}s from the parent thread based on 78 * @return a single {@code ProtectionDomain} array computed from the two 80 * @see ProtectionDomain 82 public ProtectionDomain[] combine(ProtectionDomain[] currentDomains, 83 ProtectionDomain[] assignedDomains) { 96 ProtectionDomain[] pd = new ProtectionDomain[len] [all...] |
/libcore/luni/src/test/java/libcore/java/security/ |
AccessControllerTest.java | 25 import java.security.ProtectionDomain; 39 public ProtectionDomain[] combine(ProtectionDomain[] a, ProtectionDomain[] b) { 44 ProtectionDomain protectionDomain = new ProtectionDomain(null, new Permissions()); 46 new AccessControlContext(new ProtectionDomain[] { protectionDomain }), union);
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/ |
SubjectDomainCombinerTest.java | 31 import java.security.ProtectionDomain; 66 * @tests javax.security.auth.SubjectDomainCombiner#combine(ProtectionDomain[], 67 * ProtectionDomain[]) 83 ProtectionDomain[] pd; 102 ProtectionDomain domain = new ProtectionDomain(source, permissions, 105 pd = combiner.combine(new ProtectionDomain[] { domain }, null); 116 pd = combiner.combine(null, new ProtectionDomain[] { domain }); 120 assertNotNull(new SubjectDomainCombiner(new Subject()).combine(new ProtectionDomain[] {null}, new ProtectionDomain[] {null})) [all...] |
/art/test/025-access-controller/src/ |
Privvy.java | 19 import java.security.ProtectionDomain;
|
/dalvik/tests/025-access-controller/src/ |
Privvy.java | 5 import java.security.ProtectionDomain;
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/ |
ProxyTest.java | 27 import java.security.ProtectionDomain; 224 ProtectionDomain pd = pc.getProtectionDomain(); 225 ProtectionDomain od = Object.class.getProtectionDomain(); 237 ProtectionDomain pd = pc.getProtectionDomain(); 238 ProtectionDomain od = Object.class.getProtectionDomain();
|
/external/javassist/src/main/javassist/util/proxy/ |
FactoryHelper.java | 25 import java.security.ProtectionDomain; 52 int.class, int.class, ProtectionDomain.class }); 131 * @see #toClass(ClassFile,ClassLoader,ProtectionDomain) 145 public static Class toClass(ClassFile cf, ClassLoader loader, ProtectionDomain domain)
|
SerializedProxy.java | 23 import java.security.ProtectionDomain;
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
ClassLoaderTest.java | 25 import java.security.ProtectionDomain; 241 public PermissionCollection getPermissions(ProtectionDomain pd) {
|
ClassTest.java | 38 import java.security.ProtectionDomain; 191 public ProtectionDomain[] combine(ProtectionDomain[] executionDomains, 192 ProtectionDomain[] parentDomains) { 194 return new ProtectionDomain[0];
|
/external/javassist/src/main/javassist/scopedpool/ |
ScopedClassPool.java | 19 import java.security.ProtectionDomain; 291 public Class toClass(CtClass ct, ClassLoader loader, ProtectionDomain domain)
|
/external/javassist/src/main/javassist/ |
Loader.java | 21 import java.security.ProtectionDomain; 140 private ProtectionDomain domain; 213 public void setDomain(ProtectionDomain d) {
|
/libcore/libdvm/src/main/java/java/lang/ |
ClassLoader.java | 41 import java.security.ProtectionDomain; 271 * @param protectionDomain 287 ProtectionDomain protectionDomain) throws java.lang.ClassFormatError { 302 * @param protectionDomain 313 ProtectionDomain protectionDomain) throws ClassFormatError { 317 return defineClass(name, temp, 0, temp.length, protectionDomain);
|
/libcore/libart/src/main/java/java/lang/ |
ClassLoader.java | 40 import java.security.ProtectionDomain; 283 * @param protectionDomain 299 ProtectionDomain protectionDomain) throws java.lang.ClassFormatError { 314 * @param protectionDomain 325 ProtectionDomain protectionDomain) throws ClassFormatError { 329 return defineClass(name, temp, 0, temp.length, protectionDomain);
|