Searched defs:devicePrintDao (Results 1 - 6 of 6) sorted by relevance

/forgerock/openam-v13/openam-authentication/openam-auth-device-id/src/test/java/org/forgerock/openam/authentication/modules/deviceprint/
H A DDevicePrintDaoTest.java40 private DevicePrintDao devicePrintDao; field in class:DevicePrintDaoTest
44 devicePrintDao = new DevicePrintDao();
58 List<Map<String, Object>> profiles = devicePrintDao.getProfiles(amIdentity);
81 devicePrintDao.saveProfiles(amIdentity, profiles);
H A DProfilePersisterTest.java42 private DevicePrintDao devicePrintDao; field in class:ProfilePersisterTest
48 devicePrintDao = mock(DevicePrintDao.class);
51 profilePersister = new ProfilePersister(2, devicePrintDao, amIdentity);
70 given(devicePrintDao.getProfiles(amIdentity)).willReturn(profiles);
77 verify(devicePrintDao).saveProfiles(eq(amIdentity), profilesCaptor.capture());
/forgerock/openam/openam-authentication/openam-auth-device-id/src/test/java/org/forgerock/openam/authentication/modules/deviceprint/
H A DDevicePrintDaoTest.java41 private DevicePrintDao devicePrintDao; field in class:DevicePrintDaoTest
45 devicePrintDao = new DevicePrintDao();
59 List<Map<String, Object>> profiles = devicePrintDao.getProfiles(amIdentity);
82 devicePrintDao.saveProfiles(amIdentity, profiles);
H A DProfilePersisterTest.java43 private DevicePrintDao devicePrintDao; field in class:ProfilePersisterTest
49 devicePrintDao = mock(DevicePrintDao.class);
52 profilePersister = new ProfilePersister(2, devicePrintDao, amIdentity);
71 given(devicePrintDao.getProfiles(amIdentity)).willReturn(profiles);
78 verify(devicePrintDao).saveProfiles(eq(amIdentity), profilesCaptor.capture());
/forgerock/openam-v13/openam-authentication/openam-auth-device-id/src/main/java/org/forgerock/openam/authentication/modules/deviceprint/
H A DProfilePersister.java40 private final DevicePrintDao devicePrintDao; field in class:ProfilePersister
47 * @param devicePrintDao An instance of the DevicePrintDao.
50 ProfilePersister(int maxProfilesAllowed, DevicePrintDao devicePrintDao, AMIdentityWrapper amIdentity) { argument
52 this.devicePrintDao = devicePrintDao;
73 List<Map<String, Object>> profiles = devicePrintDao.getProfiles(amIdentity);
92 devicePrintDao.saveProfiles(amIdentity, profiles);
/forgerock/openam/openam-authentication/openam-auth-device-id/src/main/java/org/forgerock/openam/authentication/modules/deviceprint/
H A DProfilePersister.java42 private final DevicePrintDao devicePrintDao; field in class:ProfilePersister
49 * @param devicePrintDao An instance of the DevicePrintDao.
52 ProfilePersister(int maxProfilesAllowed, DevicePrintDao devicePrintDao, AMIdentityWrapper amIdentity) { argument
54 this.devicePrintDao = devicePrintDao;
75 List<Map<String, Object>> profiles = devicePrintDao.getProfiles(amIdentity);
94 devicePrintDao.saveProfiles(amIdentity, profiles);

Completed in 56 milliseconds