Searched defs:dao (Results 1 - 12 of 12) sorted by relevance

/forgerock/openam-v13/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/devices/
H A DTrustedDevicesResource.java46 * @param dao An instance of the {@code TrustedDevicesDao}.
50 public TrustedDevicesResource(TrustedDevicesDao dao, ContextHelper contextHelper) { argument
51 super(dao, contextHelper);
H A DOathDevicesResource.java67 public OathDevicesResource(OathDevicesDao dao, ContextHelper helper, argument
70 super(dao, helper);
/forgerock/openam-v13/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/dashboard/
H A DTrustedDevicesResourceTest.java56 private TrustedDevicesDao dao; field in class:TrustedDevicesResourceTest
62 dao = mock(TrustedDevicesDao.class);
65 resource = new TrustedDevicesResource(dao, contextHelper);
89 given(dao.getDeviceProfiles(anyString(), anyString())).willReturn(devices);
108 given(dao.getDeviceProfiles(anyString(), anyString())).willReturn(devices);
115 verify(dao).saveDeviceProfiles(anyString(), anyString(), devicesCaptor.capture());
129 given(dao.getDeviceProfiles(anyString(), anyString())).willReturn(devices);
H A DOathDevicesResourceTest.java76 private OathDevicesDao dao; field in class:OathDevicesResourceTest
92 resource = new OathDevicesResourceTestClass(dao, contextHelper, debug, oathServiceFactory);
113 given(dao.getDeviceProfiles(anyString(), anyString())).willReturn(devices);
121 verify(dao, times(1)).getDeviceProfiles(USER_ID, "/");
144 given(dao.getDeviceProfiles(anyString(), anyString())).willReturn(devices);
153 verify(dao).saveDeviceProfiles(anyString(), anyString(), devicesCaptor.capture());
166 given(dao.getDeviceProfiles(anyString(), anyString())).willReturn(devices);
230 public OathDevicesResourceTestClass(OathDevicesDao dao, ContextHelper helper, Debug debug, argument
232 super(dao, helper, debug, oathServiceFactory, helper);
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/devices/oath/
H A DOathDevicesResource.java99 * @param dao For communicating with the datastore.
105 public OathDevicesResource(OathDevicesDao dao, ContextHelper helper, @Named("frRest") Debug debug, argument
108 super(dao, helper);
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/devices/push/
H A DPushDevicesResource.java95 * @param dao The data access object for PushDevices.
101 public PushDevicesResource(PushDevicesDao dao, ContextHelper helper, @Named("frRest") Debug debug, argument
104 super(dao, helper);
/forgerock/openam/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/devices/deviceprint/
H A DTrustedDevicesResourceTest.java60 private TrustedDevicesDao dao; field in class:TrustedDevicesResourceTest
67 dao = mock(TrustedDevicesDao.class);
70 resource = new TrustedDevicesResource(dao, contextHelper);
100 given(dao.getDeviceProfiles(anyString(), anyString())).willReturn(devices);
119 given(dao.getDeviceProfiles(anyString(), anyString())).willReturn(devices);
126 verify(dao).saveDeviceProfiles(anyString(), anyString(), devicesCaptor.capture());
140 given(dao.getDeviceProfiles(anyString(), anyString())).willReturn(devices);
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/devices/deviceprint/
H A DTrustedDevicesResource.java85 * @param dao An instance of the {@code TrustedDevicesDao}.
89 public TrustedDevicesResource(TrustedDevicesDao dao, ContextHelper contextHelper) { argument
90 super(dao, contextHelper);
/forgerock/openam/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/devices/oath/
H A DOathDevicesResourceTest.java78 private OathDevicesDao dao; field in class:OathDevicesResourceTest
95 resource = new OathDevicesResourceTestClass(dao, contextHelper, debug, oathServiceFactory);
124 given(dao.getDeviceProfiles(anyString(), anyString())).willReturn(devices);
132 verify(dao, times(1)).getDeviceProfiles(USER_ID, "/");
155 given(dao.getDeviceProfiles(anyString(), anyString())).willReturn(devices);
164 verify(dao).saveDeviceProfiles(anyString(), anyString(), devicesCaptor.capture());
177 given(dao.getDeviceProfiles(anyString(), anyString())).willReturn(devices);
246 public OathDevicesResourceTestClass(OathDevicesDao dao, ContextHelper helper, Debug debug, argument
248 super(dao, helper, debug, oathServiceFactory);
/forgerock/openam/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/devices/push/
H A DPushDevicesResourceTest.java75 private PushDevicesDao dao; field in class:PushDevicesResourceTest
92 resource = new PushDevicesResourceTestClass(dao, contextHelper, debug, pushServiceFactory);
121 given(dao.getDeviceProfiles(anyString(), anyString())).willReturn(devices);
129 verify(dao, times(1)).getDeviceProfiles(USER_ID, "/");
144 given(dao.getDeviceProfiles(anyString(), anyString())).willReturn(devices);
153 verify(dao).saveDeviceProfiles(anyString(), anyString(), devicesCaptor.capture());
166 given(dao.getDeviceProfiles(anyString(), anyString())).willReturn(devices);
207 public PushDevicesResourceTestClass(PushDevicesDao dao, ContextHelper helper, Debug debug, argument
209 super(dao, helper, debug, pushServiceFactory);
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/idm/plugins/database/
H A DDatabaseRepo.java84 "sun-opensso-database-dao-class-name";
89 "sun-opensso-database-dao-JDBCConnectionType";
185 private DaoInterface dao; field in class:DatabaseRepo
275 dao = (DaoInterface) Class.forName(daoClassName).newInstance();
376 dao.initialize(datasourceName, userDataBaseTableName,
429 dao.initialize(jdbcDriver, jdbcDriverUrl, jdbcDbUser,
566 dao.createGroup(name, membershipIdAttributeName);
594 createdName = dao.createUser(userIDAttributeName, attrMap);
641 dao.deleteUser(name, userIDAttributeName);
643 dao
[all...]
/forgerock/openam/openam-core/src/main/java/com/sun/identity/idm/plugins/database/
H A DDatabaseRepo.java85 "sun-opensso-database-dao-class-name";
90 "sun-opensso-database-dao-JDBCConnectionType";
186 private DaoInterface dao; field in class:DatabaseRepo
276 dao = (DaoInterface) Class.forName(daoClassName).newInstance();
377 dao.initialize(datasourceName, userDataBaseTableName,
430 dao.initialize(jdbcDriver, jdbcDriverUrl, jdbcDbUser,
567 dao.createGroup(name, membershipIdAttributeName);
595 createdName = dao.createUser(userIDAttributeName, attrMap);
642 dao.deleteUser(name, userIDAttributeName);
644 dao
[all...]

Completed in 79 milliseconds