HomeSort by relevance Sort by last modified time
    Searched refs:principals (Results 1 - 18 of 18) sorted by null

  /libcore/luni/src/main/java/java/security/
ProtectionDomain.java 26 public ProtectionDomain(CodeSource cs, PermissionCollection permissions, ClassLoader cl, Principal[] principals) { }
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
ProtectionDomainTest.java 48 private Principal[] principals = null; // changed in setUp() field in class:ProtectionDomainTest
64 principals = new Principal[] { new TestPrincipal("0"),
98 new ProtectionDomain(null, null, null, principals);
100 new ProtectionDomain(cs, perms, classldr, principals);
139 ProtectionDomain pd = new ProtectionDomain(null, null, null, principals);
142 assertNotSame(got, principals);
144 assertTrue(got.length == principals.length);
188 .getSystemClassLoader(), principals);
206 new ProtectionDomain(cs, perms, classldr, principals).toString();
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
CertificateRequest.java 96 ArrayList<X500Principal> principals = new ArrayList<X500Principal>(); local
99 principals.add(new X500Principal(in));
103 certificate_authorities = principals.toArray(new X500Principal[principals.size()]);
  /external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/module/
KeyStoreLoginModuleTest.java 94 Set<Principal> principals = subject.getPrincipals(); local
95 assertFalse("Should get at least one principal", principals.isEmpty());
162 Set<Principal> principals = subject.getPrincipals(); local
163 assertFalse("Should get at least one principal", principals.isEmpty());
175 principals = subject.getPrincipals();
176 assertTrue("Principals should be cleared", principals.isEmpty());
JndiLoginModuleTest.java 107 Set<Principal> principals = subject.getPrincipals(); local
108 assertFalse("Should get at least one principal", principals.isEmpty());
179 Set<Principal> principals = subject.getPrincipals(); local
180 assertFalse("Should get at least one principal", principals.isEmpty());
186 principals = subject.getPrincipals();
187 assertTrue("Principals should be cleared", principals.isEmpty());
LdapLoginModuleTest.java 107 Set<Principal> principals = subject.getPrincipals(); local
108 assertFalse("Should get at least one principal", principals.isEmpty());
178 Set<Principal> principals = subject.getPrincipals(); local
179 assertFalse("Should get at least one principal", principals.isEmpty());
185 principals = subject.getPrincipals();
186 assertTrue("Principals should be cleared", principals.isEmpty());
  /libcore/luni/src/main/java/javax/security/auth/
Subject.java 77 private final Set<Principal> principals; field in class:Subject
89 * credentials and principals with the empty set.
92 principals = new SecureSet<Principal>(_PRINCIPALS);
101 * credentials and principals according to the arguments.
107 * the set of Principals that are attributed to this {@code
123 principals = new SecureSet<Principal>(_PRINCIPALS, subjPrincipals);
272 * Checks two Subjects for equality. More specifically if the principals,
295 if (principals.equals(that.principals)
309 return principals;
    [all...]
  /external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/
SubjectDomainCombinerTest.java 88 // test case: check assigned principals
100 Principal[] principals = new Principal[] { p }; local
103 classLoader, principals);
  /libcore/luni/src/main/native/
org_apache_harmony_xnet_provider_jsse_NativeCrypto.cpp     [all...]
  /prebuilt/common/osgi/
osgi.jar 
  /prebuilt/sdk/10/
android.jar 
  /prebuilt/sdk/11/
android.jar 
  /prebuilt/sdk/13/
android.jar 
  /prebuilt/sdk/15/
android.jar 
  /prebuilt/sdk/5/
android.jar 
  /prebuilt/sdk/7/
android.jar 
  /prebuilt/sdk/8/
android.jar 
  /prebuilt/sdk/9/
android.jar 

Completed in 846 milliseconds