Searched refs:getPrincipals (Results 1 – 9 of 9) sorted by relevance
51 public void getPrincipals() { in getPrincipals() method in SubjectTest52 assertEquals(set, subject.getPrincipals()); in getPrincipals()54 assertEquals(set, subject.getPrincipals(PrincipalImpl.class)); in getPrincipals()55 assertEquals(set, subject.getPrincipals(Principal.class)); in getPrincipals()57 assertEquals(0, subject.getPrincipals(X500Name.class).size()); in getPrincipals()
66 public void getPrincipals() { in getPrincipals() method in PrivateCredentialPermissionTest67 assertNull(permission.getPrincipals()); in getPrincipals()
49 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()
94 return subject.getPrincipals().contains(this); in implies()
49 public final Principal[] getPrincipals() { return null; } in getPrincipals() method in ProtectionDomain
46 public String[][] getPrincipals() { return null; } in getPrincipals() method in PrivateCredentialPermission
585 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()));
81 assertNull(domain.getPrincipals()); in testGetPrincipals()
8439 method public final java.security.Principal[] getPrincipals();19817 method public String[][] getPrincipals();19828 method public java.util.Set<java.security.Principal> getPrincipals();19829 method public <T extends java.security.Principal> java.util.Set<T> getPrincipals(Class<T>);