Searched refs:userProfilesDao (Results 1 - 4 of 4) sorted by relevance

/forgerock/openam-v13/openam-authentication/deviceprint/module/src/test/java/org/forgerock/openam/authentication/modules/deviceprint/
H A DUserProfilesDaoTest.java57 private UserProfilesDao userProfilesDao; field in class:UserProfilesDaoTest
69 userProfilesDao = new UserProfilesDao(amIdentityWrapper);
85 userProfilesDao.init();
88 assertEquals(userProfilesDao.getProfiles().size(), 3);
95 userProfilesDao.addProfile(createUserProfile("1"));
96 userProfilesDao.addProfile(createUserProfile("2"));
97 userProfilesDao.addProfile(createUserProfile("3"));
100 userProfilesDao.removeProfile("2");
103 assertEquals(userProfilesDao.getProfiles().size(), 2);
110 userProfilesDao
[all...]
H A DDevicePrintServiceTest.java64 private UserProfilesDao userProfilesDao; field in class:DevicePrintServiceTest
72 userProfilesDao = mock(UserProfilesDao.class);
81 devicePrintService = new DevicePrintService(devicePrintAuthenticationConfig, userProfilesDao, extractorFactory,
127 given(userProfilesDao.getProfiles()).willReturn(userProfiles);
154 given(userProfilesDao.getProfiles()).willReturn(userProfiles);
191 given(userProfilesDao.getProfiles()).willReturn(new ArrayList<UserProfile>());
197 verify(userProfilesDao).removeProfile(anyString());
199 verify(userProfilesDao).addProfile(userProfileCaptor.capture());
202 verify(userProfilesDao).saveProfiles();
218 given(userProfilesDao
[all...]
/forgerock/openam-v13/openam-authentication/deviceprint/module/src/main/java/org/forgerock/openam/authentication/modules/deviceprint/
H A DDevicePrintService.java61 private final UserProfilesDao userProfilesDao; field in class:DevicePrintService
72 * @param userProfilesDao An instance of the UserProfilesDao.
77 UserProfilesDao userProfilesDao, DevicePrintExtractorFactory extractorFactory,
81 this.userProfilesDao = userProfilesDao;
196 userProfilesDao.removeProfile(userProfile.getUuid());
202 while (userProfilesDao.getProfiles().size() >= profileMaximumProfilesStoredQuantity) {
208 userProfilesDao.addProfile(userProfile);
209 userProfilesDao.saveProfiles();
220 for (UserProfile userProfile : userProfilesDao
76 DevicePrintService(DevicePrintAuthenticationConfig devicePrintAuthenticationConfig, UserProfilesDao userProfilesDao, DevicePrintExtractorFactory extractorFactory, DevicePrintComparator devicePrintComparator) argument
[all...]
H A DDevicePrintModuleInitialiser.java120 UserProfilesDao userProfilesDao = new UserProfilesDao(amIdentityWrapper);
127 DevicePrintService devicePrintService = new DevicePrintService(config, userProfilesDao, extractorFactory,

Completed in 20 milliseconds