Home
last modified time | relevance | path

Searched refs:getPrincipals (Results 1 – 5 of 5) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/
DSubjectTest.java49 assertTrue("Set of principal is not empty", s.getPrincipals().isEmpty()); in test_Constructor_01()
280 subject.getPrincipals().removeAll(null); in testSecureTest_removeAllNull_throwsException()
290 subject.getPrincipals().retainAll(null); in testSecureTest_retainAllNull_throwsException()
298 return new Object[] { subject, subject.getPrincipals(), in getSerializationData()
/libcore/ojluni/src/main/java/java/security/
DPrincipal.java92 return subject.getPrincipals().contains(this); in implies()
DProtectionDomain.java47 public final Principal[] getPrincipals() { return null; } in getPrincipals() method in ProtectionDomain
/libcore/ojluni/src/main/java/javax/security/auth/
DPrivateCredentialPermission.java44 public String[][] getPrincipals() { return null; } in getPrincipals() method in PrivateCredentialPermission
DSubject.java585 public Set<Principal> getPrincipals() {
616 public <T extends Principal> Set<T> getPrincipals(Class<T> c) {
1064 subject.getPrincipals()));
1187 subject.getPrincipals()));
1416 Subject.this.getPrincipals()));