Searched refs:profiles (Results 1 - 25 of 36) sorted by relevance

12

/forgerock/openam-v13/openam-authentication/deviceprint/module/src/main/java/org/forgerock/openam/authentication/modules/deviceprint/
H A DUserProfilesDao.java59 private final List<UserProfile> profiles = new ArrayList<UserProfile>(); field in class:UserProfilesDao
74 * Initialises the DAO's internal user profiles cache from LDAP.
77 profiles.clear();
86 profiles.add(mapper.readValue(i.next(), UserProfile.class));
92 DEBUG.message("Read " + profiles.size() + " adaptive profiles.");
100 * Returns the DAO's internal cache of user profiles.
102 * @return The user's profiles.
105 return profiles;
114 profiles
[all...]
H A DDevicePrintService.java52 * profiles, and update the user profiles in LDAP.
185 * Checks to ensure the max number of user profiles is not exceeded. If it is as many as needed are removed to
200 //maximum stored profiles had been reached
203 DEBUG.message("Removing oldest user profile due to maximum profiles stored quantity");
233 * Gets the list of valid, non-expired User's profiles.
235 * @return The valid User profiles.
238 List<UserProfile> profiles = new ArrayList<UserProfile>();
242 profiles.add(userProfile);
246 return profiles;
[all...]
/forgerock/openam-v13/openam-authentication/openam-auth-device-id/src/main/java/org/forgerock/openam/authentication/modules/deviceprint/
H A DProfilePersister.java46 * @param maxProfilesAllowed The maximum device print profiles a user is allowed.
73 List<Map<String, Object>> profiles = devicePrintDao.getProfiles(amIdentity);
77 while (profiles.size() >= maxProfilesAllowed) {
78 DEBUG.message("Removing oldest user profile due to maximum profiles stored quantity");
79 removeOldestProfile(profiles);
90 profiles.add(profile);
92 devicePrintDao.saveProfiles(amIdentity, profiles);
100 * Generates a profiles name from the specified last selected date.
112 * @param profiles The current stored profiles
114 removeOldestProfile(List<Map<String, Object>> profiles) argument
[all...]
H A DDevicePrintDao.java50 * @return A {@code List} of the user's device print profiles.
51 * @throws IdRepoException If there is a problem getting the device print profiles from LDAP.
52 * @throws SSOException If there is a problem getting the device print profiles from LDAP.
53 * @throws IOException If there is a problem parsing the device print profiles.
59 List<Map<String, Object>> profiles = new ArrayList<Map<String, Object>>();
62 profiles.add(MAPPER.readValue(profile, Map.class));
65 return profiles;
72 * @param profiles The {@code List} of the user's device print profiles.
74 void saveProfiles(AMIdentityWrapper amIdentity, List<Map<String, Object>> profiles) { argument
[all...]
/forgerock/openam/openam-authentication/openam-auth-device-id/src/main/java/org/forgerock/openam/authentication/modules/deviceprint/
H A DProfilePersister.java48 * @param maxProfilesAllowed The maximum device print profiles a user is allowed.
75 List<Map<String, Object>> profiles = devicePrintDao.getProfiles(amIdentity);
79 while (profiles.size() >= maxProfilesAllowed) {
80 DEBUG.message("Removing oldest user profile due to maximum profiles stored quantity");
81 removeOldestProfile(profiles);
92 profiles.add(profile);
94 devicePrintDao.saveProfiles(amIdentity, profiles);
102 * Generates a profiles name from the specified last selected date.
114 * @param profiles The current stored profiles
116 removeOldestProfile(List<Map<String, Object>> profiles) argument
[all...]
H A DDevicePrintDao.java50 * @return A {@code List} of the user's device print profiles.
51 * @throws IdRepoException If there is a problem getting the device print profiles from LDAP.
52 * @throws SSOException If there is a problem getting the device print profiles from LDAP.
53 * @throws IOException If there is a problem parsing the device print profiles.
59 List<Map<String, Object>> profiles = new ArrayList<Map<String, Object>>();
62 profiles.add(MAPPER.readValue(profile, Map.class));
65 return profiles;
72 * @param profiles The {@code List} of the user's device print profiles.
74 void saveProfiles(AMIdentityWrapper amIdentity, List<Map<String, Object>> profiles) { argument
[all...]
/forgerock/openam-v13/openam-authentication/openam-auth-device-id/src/test/java/org/forgerock/openam/authentication/modules/deviceprint/
H A DDevicePrintDaoTest.java58 List<Map<String, Object>> profiles = devicePrintDao.getProfiles(amIdentity);
61 assertThat(profiles).hasSize(1);
70 List<Map<String, Object>> profiles = new ArrayList<Map<String, Object>>();
77 profiles.add(profileOne);
78 profiles.add(profileTwo);
81 devicePrintDao.saveProfiles(amIdentity, profiles);
H A DProfilePersisterTest.java67 List<Map<String, Object>> profiles = new ArrayList<Map<String, Object>>();
68 profiles.add(profileOne);
69 profiles.add(profileTwo);
70 given(devicePrintDao.getProfiles(amIdentity)).willReturn(profiles);
/forgerock/openam/openam-authentication/openam-auth-device-id/src/test/java/org/forgerock/openam/authentication/modules/deviceprint/
H A DDevicePrintDaoTest.java59 List<Map<String, Object>> profiles = devicePrintDao.getProfiles(amIdentity);
62 assertThat(profiles).hasSize(1);
71 List<Map<String, Object>> profiles = new ArrayList<Map<String, Object>>();
78 profiles.add(profileOne);
79 profiles.add(profileTwo);
82 devicePrintDao.saveProfiles(amIdentity, profiles);
H A DProfilePersisterTest.java68 List<Map<String, Object>> profiles = new ArrayList<Map<String, Object>>();
69 profiles.add(profileOne);
70 profiles.add(profileTwo);
71 given(devicePrintDao.getProfiles(amIdentity)).willReturn(profiles);
/forgerock/opendj2/src/server/org/opends/server/admin/
H A DLDAPProfile.java185 private final LinkedList<Wrapper> profiles = new LinkedList<Wrapper>();; field in class:LDAPProfile
216 for (Wrapper profile : profiles) {
246 for (Wrapper profile : profiles) {
291 for (Wrapper profile : profiles)
323 for (Wrapper profile : profiles) {
386 for (Wrapper profile : profiles) {
405 profiles.removeFirst();
420 profiles.addFirst(wrapper);
/forgerock/opendj-b2.6/src/server/org/opends/server/admin/
H A DLDAPProfile.java186 private final LinkedList<Wrapper> profiles = new LinkedList<Wrapper>();; field in class:LDAPProfile
217 for (Wrapper profile : profiles) {
247 for (Wrapper profile : profiles) {
292 for (Wrapper profile : profiles)
324 for (Wrapper profile : profiles) {
387 for (Wrapper profile : profiles) {
406 profiles.removeFirst();
421 profiles.addFirst(wrapper);
/forgerock/opendj2.6.2/src/server/org/opends/server/admin/
H A DLDAPProfile.java186 private final LinkedList<Wrapper> profiles = new LinkedList<Wrapper>();; field in class:LDAPProfile
217 for (Wrapper profile : profiles) {
247 for (Wrapper profile : profiles) {
292 for (Wrapper profile : profiles)
324 for (Wrapper profile : profiles) {
387 for (Wrapper profile : profiles) {
406 profiles.removeFirst();
421 profiles.addFirst(wrapper);
/forgerock/opendj2-hg/src/server/org/opends/server/admin/
H A DLDAPProfile.java185 private final LinkedList<Wrapper> profiles = new LinkedList<Wrapper>();; field in class:LDAPProfile
216 for (Wrapper profile : profiles) {
246 for (Wrapper profile : profiles) {
291 for (Wrapper profile : profiles)
323 for (Wrapper profile : profiles) {
386 for (Wrapper profile : profiles) {
405 profiles.removeFirst();
420 profiles.addFirst(wrapper);
/forgerock/opendj2-jel-hg/src/server/org/opends/server/admin/
H A DLDAPProfile.java186 private final LinkedList<Wrapper> profiles = new LinkedList<Wrapper>();; field in class:LDAPProfile
217 for (Wrapper profile : profiles) {
247 for (Wrapper profile : profiles) {
292 for (Wrapper profile : profiles)
324 for (Wrapper profile : profiles) {
387 for (Wrapper profile : profiles) {
406 profiles.removeFirst();
421 profiles.addFirst(wrapper);
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/admin/
H A DLDAPProfile.java186 private final LinkedList<Wrapper> profiles = new LinkedList<>(); field in class:LDAPProfile
217 for (Wrapper profile : profiles) {
247 for (Wrapper profile : profiles) {
292 for (Wrapper profile : profiles)
324 for (Wrapper profile : profiles) {
387 for (Wrapper profile : profiles) {
406 profiles.removeFirst();
421 profiles.addFirst(wrapper);
/forgerock/opendj-v3/opendj-config/src/main/java/org/forgerock/opendj/config/
H A DLDAPProfile.java161 private final LinkedList<Wrapper> profiles = new LinkedList<>(); field in class:LDAPProfile
186 for (Wrapper profile : profiles) {
212 for (Wrapper profile : profiles) {
247 for (Wrapper profile : profiles) {
272 for (Wrapper profile : profiles) {
326 for (Wrapper profile : profiles) {
343 profiles.removeFirst();
356 profiles.addFirst(wrapper);
/forgerock/openam-v13/openam-console/src/main/java/com/sun/identity/console/federation/
H A DFSSAMLTrustedPartnersEditViewBean.java157 List profiles = (List)getPageSessionAttribute(PROFILES);
159 if (profiles != null) {
176 builder.getXML(profiles, !isCreateViewBean()));
H A DSAMLPropertyXMLBuilder.java47 private static Map profiles = new HashMap (10); field in class:SAMLPropertyXMLBuilder
79 profiles.put (DESTINATION_ARTIFACT, samlProp);
103 profiles.put(DESTINATION_POST, samlProp);
129 profiles.put (SOURCE_ARTIFACT, samlProp);
150 profiles.put (SOURCE_POST, samlProp);
174 profiles.put (DESTINATION_SOAP, samlProp);
193 return (SAMLProperty)profiles.get (name);
303 (p == profiles.get (DESTINATION_SOAP))
H A DFSSAMLTrustedPartnersViewBeanBase.java211 List profiles = (List)getPageSessionAttribute(PROFILES);
212 if (profiles != null) {
216 builder.getXML(profiles, !isCreateViewBean()));
412 List profiles = (List)getPageSessionAttribute(PROFILES);
414 return builder.getAttributeNames(profiles);
418 List profiles = (List)getPageSessionAttribute(PROFILES);
420 return builder.getMandatoryAttributeNames(profiles);
/forgerock/openam/openam-console/src/main/java/com/sun/identity/console/federation/
H A DFSSAMLTrustedPartnersEditViewBean.java157 List profiles = (List)getPageSessionAttribute(PROFILES);
159 if (profiles != null) {
176 builder.getXML(profiles, !isCreateViewBean()));
H A DSAMLPropertyXMLBuilder.java47 private static Map profiles = new HashMap (10); field in class:SAMLPropertyXMLBuilder
79 profiles.put (DESTINATION_ARTIFACT, samlProp);
103 profiles.put(DESTINATION_POST, samlProp);
129 profiles.put (SOURCE_ARTIFACT, samlProp);
150 profiles.put (SOURCE_POST, samlProp);
174 profiles.put (DESTINATION_SOAP, samlProp);
193 return (SAMLProperty)profiles.get (name);
303 (p == profiles.get (DESTINATION_SOAP))
H A DFSSAMLTrustedPartnersViewBeanBase.java211 List profiles = (List)getPageSessionAttribute(PROFILES);
212 if (profiles != null) {
216 builder.getXML(profiles, !isCreateViewBean()));
412 List profiles = (List)getPageSessionAttribute(PROFILES);
414 return builder.getAttributeNames(profiles);
418 List profiles = (List)getPageSessionAttribute(PROFILES);
420 return builder.getMandatoryAttributeNames(profiles);
/forgerock/openam-v13/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/devices/
H A DUserDevicesDao.java57 * Gets a user's device profiles. The returned profiles must be stored in JSON format.
59 * @param username User whose profiles to return.
61 * @return A list of device profiles.
62 * @throws InternalServerErrorException If there is a problem retrieving the device profiles.
89 * Saves a user's device profiles.
91 * @param username User whose profiles to return.
93 * @param profiles The user's device profiles to store.
95 * @throws InternalServerErrorException If there is a problem storing the device profiles
97 saveDeviceProfiles(String username, String realm, List<JsonValue> profiles) argument
[all...]
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/devices/
H A DUserDevicesDao.java62 * Gets a user's device profiles. The returned profiles must be stored in JSON format.
64 * @param username User whose profiles to return.
66 * @return A list of device profiles.
67 * @throws InternalServerErrorException If there is a problem retrieving the device profiles.
98 * Saves a user's device profiles.
100 * @param username User whose profiles to return.
102 * @param profiles The user's device profiles to store.
104 * @throws InternalServerErrorException If there is a problem storing the device profiles
106 saveDeviceProfiles(String username, String realm, List<JsonValue> profiles) argument
[all...]

Completed in 64 milliseconds

12