Searched refs:amIdentity (Results 1 - 25 of 61) sorted by relevance

123

/forgerock/openam-v13/openam-authentication/deviceprint/module/src/main/java/org/forgerock/openam/authentication/modules/deviceprint/
H A DAMIdentityWrapper.java45 private final AMIdentity amIdentity; field in class:AMIdentityWrapper
50 * @param amIdentity An instance of AMIdentity.
52 public AMIdentityWrapper(AMIdentity amIdentity) { argument
53 this.amIdentity = amIdentity;
60 amIdentity.store();
67 amIdentity.setAttributes(attrMap);
74 return amIdentity.getAttribute(attr);
H A DUserProfilesDao.java58 private final AMIdentityWrapper amIdentity; field in class:UserProfilesDao
69 this.amIdentity = amIdentityWrapper;
80 Set<String> set = (Set<String>) amIdentity.getAttribute(LDAP_DEVICE_PRINT_ATTRIBUTE_NAME);
156 amIdentity.setAttributes(attrMap);
157 amIdentity.store();
/forgerock/openam-v13/openam-authentication/openam-auth-device-id/src/main/java/org/forgerock/openam/authentication/modules/deviceprint/
H A DAMIdentityWrapper.java47 private final AMIdentity amIdentity; field in class:AMIdentityWrapper
52 * @param amIdentity An instance of AMIdentity.
54 public AMIdentityWrapper(AMIdentity amIdentity) { argument
55 this.amIdentity = amIdentity;
62 amIdentity.store();
69 amIdentity.setAttributes(attrMap);
76 return amIdentity.getAttribute(attr);
H A DDevicePrintDao.java49 * @param amIdentity The user's identity.
55 List<Map<String, Object>> getProfiles(AMIdentityWrapper amIdentity) throws IdRepoException, SSOException, argument
58 Set<String> set = (Set<String>) amIdentity.getAttribute(LDAP_DEVICE_PRINT_ATTRIBUTE_NAME);
71 * @param amIdentity The user's identity.
74 void saveProfiles(AMIdentityWrapper amIdentity, List<Map<String, Object>> profiles) { argument
86 amIdentity.setAttributes(profilesMap);
87 amIdentity.store();
H A DProfilePersister.java41 private final AMIdentityWrapper amIdentity; field in class:ProfilePersister
48 * @param amIdentity The user's identity.
50 ProfilePersister(int maxProfilesAllowed, DevicePrintDao devicePrintDao, AMIdentityWrapper amIdentity) { argument
53 this.amIdentity = amIdentity;
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 DAMIdentityWrapper.java47 private final AMIdentity amIdentity; field in class:AMIdentityWrapper
52 * @param amIdentity An instance of AMIdentity.
54 public AMIdentityWrapper(AMIdentity amIdentity) { argument
55 this.amIdentity = amIdentity;
62 amIdentity.store();
69 amIdentity.setAttributes(attrMap);
76 return amIdentity.getAttribute(attr);
H A DDevicePrintDao.java49 * @param amIdentity The user's identity.
55 List<Map<String, Object>> getProfiles(AMIdentityWrapper amIdentity) throws IdRepoException, SSOException, argument
58 Set<String> set = (Set<String>) amIdentity.getAttribute(LDAP_DEVICE_PRINT_ATTRIBUTE_NAME);
71 * @param amIdentity The user's identity.
74 void saveProfiles(AMIdentityWrapper amIdentity, List<Map<String, Object>> profiles) { argument
86 amIdentity.setAttributes(profilesMap);
87 amIdentity.store();
H A DProfilePersister.java43 private final AMIdentityWrapper amIdentity; field in class:ProfilePersister
50 * @param amIdentity The user's identity.
52 ProfilePersister(int maxProfilesAllowed, DevicePrintDao devicePrintDao, AMIdentityWrapper amIdentity) { argument
55 this.amIdentity = amIdentity;
75 List<Map<String, Object>> profiles = devicePrintDao.getProfiles(amIdentity);
94 devicePrintDao.saveProfiles(amIdentity, profiles);
/forgerock/openam-v13/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/
H A DOpenAMResourceOwner.java39 private final AMIdentity amIdentity; field in class:OpenAMResourceOwner
45 * @param amIdentity The resource owner's identity.
47 OpenAMResourceOwner(String id, AMIdentity amIdentity) { argument
48 this(id, amIdentity, System.currentTimeMillis());
54 * @param amIdentity The resource owner's identity.
57 OpenAMResourceOwner(String id, AMIdentity amIdentity, long authTime) { argument
59 this.amIdentity = amIdentity;
84 final Set<String> attribute = amIdentity.getAttribute(userDisplayNameAttribute);
99 return amIdentity;
[all...]
/forgerock/openam-v13/openam-authentication/openam-auth-scripted/src/main/java/org/forgerock/openam/authentication/modules/scripted/
H A DScriptIdentityRepository.java53 ScriptedIdentity amIdentity = getIdentity(userName);
54 if (amIdentity != null) {
55 return amIdentity.getAttribute(attributeName);
69 ScriptedIdentity amIdentity = getIdentity(userName);
70 if (amIdentity != null) {
71 amIdentity.setAttribute(attributeName, attributeValues);
72 amIdentity.store();
83 ScriptedIdentity amIdentity = getIdentity(userName);
84 if (amIdentity != null) {
85 amIdentity
[all...]
/forgerock/openam/openam-authentication/openam-auth-scripted/src/main/java/org/forgerock/openam/authentication/modules/scripted/
H A DScriptIdentityRepository.java53 ScriptedIdentity amIdentity = getIdentity(userName);
54 if (amIdentity != null) {
55 return amIdentity.getAttribute(attributeName);
69 ScriptedIdentity amIdentity = getIdentity(userName);
70 if (amIdentity != null) {
71 amIdentity.setAttribute(attributeName, attributeValues);
72 amIdentity.store();
83 ScriptedIdentity amIdentity = getIdentity(userName);
84 if (amIdentity != null) {
85 amIdentity
[all...]
/forgerock/openam-v13/openam-scripting/src/main/java/org/forgerock/openam/scripting/api/
H A DScriptedIdentity.java37 private final AMIdentity amIdentity; field in class:ScriptedIdentity
41 * @param amIdentity The amIdentity object containing the user information
43 public ScriptedIdentity(AMIdentity amIdentity) { argument
44 this.amIdentity = amIdentity;
54 return amIdentity.getAttribute(attributeName);
75 amIdentity.setAttributes(attributes);
86 currentAttributeValues = amIdentity.getAttribute(attributeName);
106 amIdentity
[all...]
/forgerock/openam/openam-scripting/src/main/java/org/forgerock/openam/scripting/api/
H A DScriptedIdentity.java37 private final AMIdentity amIdentity; field in class:ScriptedIdentity
41 * @param amIdentity The amIdentity object containing the user information
43 public ScriptedIdentity(AMIdentity amIdentity) { argument
44 this.amIdentity = amIdentity;
54 return amIdentity.getAttribute(attributeName);
75 amIdentity.setAttributes(attributes);
86 currentAttributeValues = amIdentity.getAttribute(attributeName);
106 amIdentity
[all...]
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/oauth2/core/
H A DResourceOwner.java38 private final AMIdentity amIdentity; field in class:ResourceOwner
44 * @param amIdentity The resource owner's identity.
47 ResourceOwner(String id, AMIdentity amIdentity, long authTime) { argument
49 this.amIdentity = amIdentity;
80 final Set<String> attribute = amIdentity.getAttribute(userDisplayNameAttribute);
95 return amIdentity;
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/service/
H A DAMAccountLockout.java119 AMIdentity amIdentity = null;
121 amIdentity = AuthD.getAuth().getIdentity(IdType.USER, username, loginState.getOrgDN());
122 userDN = normalizeDN(IdUtils.getDN(amIdentity));
127 acInfo = isAccountLockout.getAcInfo(userDN, amIdentity);
129 warnUser = isAccountLockout.invalidPasswd(userDN, username, amIdentity, acInfo);
191 AMIdentity amIdentity = null;
193 amIdentity = AuthD.getAuth().getIdentity(IdType.USER, token, loginState.getOrgDN());
194 userDN = normalizeDN(IdUtils.getDN(amIdentity));
200 acInfo = isAccountLockout.getAcInfo(userDN, amIdentity);
202 isAccountLockout.resetLockoutAttempts(userDN, amIdentity, acInf
349 isAccountValid(AMIdentity amIdentity) argument
[all...]
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/service/
H A DAMAccountLockout.java121 AMIdentity amIdentity = null;
123 amIdentity = AuthD.getAuth().getIdentity(IdType.USER, username, loginState.getOrgDN());
124 userDN = normalizeDN(IdentityUtils.getDN(amIdentity));
129 acInfo = isAccountLockout.getAcInfo(userDN, amIdentity);
131 warnUser = isAccountLockout.invalidPasswd(userDN, username, amIdentity, acInfo);
193 AMIdentity amIdentity = null;
195 amIdentity = AuthD.getAuth().getIdentity(IdType.USER, token, loginState.getOrgDN());
196 userDN = normalizeDN(IdentityUtils.getDN(amIdentity));
202 acInfo = isAccountLockout.getAcInfo(userDN, amIdentity);
204 isAccountLockout.resetLockoutAttempts(userDN, amIdentity, acInf
351 isAccountValid(AMIdentity amIdentity) argument
[all...]
/forgerock/openam-v13/openam-authentication/openam-auth-device-id/src/test/java/org/forgerock/openam/authentication/modules/deviceprint/
H A DDevicePrintDaoTest.java51 AMIdentityWrapper amIdentity = mock(AMIdentityWrapper.class);
55 given(amIdentity.getAttribute("devicePrintProfiles")).willReturn(ldapProfiles);
58 List<Map<String, Object>> profiles = devicePrintDao.getProfiles(amIdentity);
68 AMIdentityWrapper amIdentity = mock(AMIdentityWrapper.class);
81 devicePrintDao.saveProfiles(amIdentity, profiles);
85 verify(amIdentity).setAttributes(ldapProfilesCaptor.capture());
86 verify(amIdentity).store();
H A DProfilePersisterTest.java43 private AMIdentityWrapper amIdentity; field in class:ProfilePersisterTest
49 amIdentity = mock(AMIdentityWrapper.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.java52 AMIdentityWrapper amIdentity = mock(AMIdentityWrapper.class);
56 given(amIdentity.getAttribute("devicePrintProfiles")).willReturn(ldapProfiles);
59 List<Map<String, Object>> profiles = devicePrintDao.getProfiles(amIdentity);
69 AMIdentityWrapper amIdentity = mock(AMIdentityWrapper.class);
82 devicePrintDao.saveProfiles(amIdentity, profiles);
86 verify(amIdentity).setAttributes(ldapProfilesCaptor.capture());
87 verify(amIdentity).store();
H A DProfilePersisterTest.java44 private AMIdentityWrapper amIdentity; field in class:ProfilePersisterTest
50 amIdentity = mock(AMIdentityWrapper.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/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/
H A DIdentityManager.java74 final AMIdentity amIdentity;
104 amIdentity = results.iterator().next();
107 if (amIdentity.isActive()){
108 return amIdentity;
128 final AMIdentity amIdentity;
146 amIdentity = results.iterator().next();
149 if (amIdentity.isActive()){
150 return amIdentity;
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/idsvcs/opensso/
H A DIdentityServicesImpl.java153 AMIdentity amIdentity;
158 amIdentity = repo.createIdentity(objectIdType, idName, idAttrs);
173 role.addMember(amIdentity);
189 group.addMember(amIdentity);
211 amIdentity.addMember(user);
214 amIdentity.store();
275 AMIdentity amIdentity = getAMIdentity(admin, repo, idType, idName);
277 if (amIdentity == null) {
282 if (isSpecialUser(amIdentity)) {
307 amIdentity
962 getMembers(AMIdentity amIdentity, IdType type) argument
966 getMemberNames(AMIdentity amIdentity, IdType type) argument
1084 addMember(AMIdentityRepository repo, AMIdentity amIdentity, AMIdentity member) argument
1096 removeMember(AMIdentityRepository repo, AMIdentity amIdentity, AMIdentity member) argument
1109 deleteAMIdentity(AMIdentityRepository repo, AMIdentity amIdentity) argument
1126 setMembers(AMIdentityRepository repo, AMIdentity amIdentity, Set<String> members, IdType idType) argument
1156 setMemberships(AMIdentityRepository repo, AMIdentity amIdentity, Set<String> memberships, IdType idType) argument
1204 getMemberships(AMIdentity amIdentity, IdType idType) argument
1214 getMembershipNames(AMIdentity amIdentity, IdType idType) argument
1223 convertToIdentityDetails(AMIdentity amIdentity, List<String> attrList) argument
[all...]
/forgerock/openam/openam-core/src/main/java/com/sun/identity/idsvcs/opensso/
H A DIdentityServicesImpl.java153 AMIdentity amIdentity;
158 amIdentity = repo.createIdentity(objectIdType, idName, idAttrs);
173 role.addMember(amIdentity);
189 group.addMember(amIdentity);
211 amIdentity.addMember(user);
214 amIdentity.store();
278 AMIdentity amIdentity = getAMIdentity(admin, repo, idType, idName);
280 if (amIdentity == null) {
285 if (isSpecialUser(amIdentity)) {
310 amIdentity
965 getMembers(AMIdentity amIdentity, IdType type) argument
969 getMemberNames(AMIdentity amIdentity, IdType type) argument
1085 addMember(AMIdentityRepository repo, AMIdentity amIdentity, AMIdentity member) argument
1097 removeMember(AMIdentityRepository repo, AMIdentity amIdentity, AMIdentity member) argument
1110 deleteAMIdentity(AMIdentityRepository repo, AMIdentity amIdentity) argument
1127 setMembers(AMIdentityRepository repo, AMIdentity amIdentity, Set<String> members, IdType idType) argument
1157 setMemberships(AMIdentityRepository repo, AMIdentity amIdentity, Set<String> memberships, IdType idType) argument
1205 getMemberships(AMIdentity amIdentity, IdType idType) argument
1215 getMembershipNames(AMIdentity amIdentity, IdType idType) argument
1224 convertToIdentityDetails(AMIdentity amIdentity, List<String> attrList) argument
[all...]
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/common/
H A DISAccountLockout.java202 * @param amIdentity AMidentity object
207 AMIdentity amIdentity, AccountLockoutInfo acInfo) {
256 setLockoutObjectClass(amIdentity);
257 amIdentity.setAttributes(attrMap);
258 amIdentity.store();
277 inactivateUserAccount(amIdentity);
287 amIdentity.getRealm());
306 public AccountLockoutInfo getAcInfo(String userDN, AMIdentity amIdentity) { argument
313 attrValueSet = amIdentity.getAttribute(
372 * @param amIdentity th
206 invalidPasswd(String userDN, String userName, AMIdentity amIdentity, AccountLockoutInfo acInfo) argument
374 setLockoutObjectClass(AMIdentity amIdentity) argument
406 invalidPasswd( AMIdentity amIdentity, AccountLockoutInfo acInfo ) argument
574 inactivateUserAccount(AMIdentity amIdentity) argument
628 isAccountLocked(AMIdentity amIdentity) argument
670 resetLockoutAttempts( String userDN, AMIdentity amIdentity, AccountLockoutInfo acInfo, boolean resetDuration ) argument
[all...]
/forgerock/openam/openam-core/src/main/java/com/sun/identity/common/
H A DISAccountLockout.java201 * @param amIdentity AMidentity object
206 AMIdentity amIdentity, AccountLockoutInfo acInfo) {
255 setLockoutObjectClass(amIdentity);
256 amIdentity.setAttributes(attrMap);
257 amIdentity.store();
276 inactivateUserAccount(amIdentity);
286 amIdentity.getRealm());
305 public AccountLockoutInfo getAcInfo(String userDN, AMIdentity amIdentity) { argument
312 attrValueSet = amIdentity.getAttribute(
371 * @param amIdentity th
205 invalidPasswd(String userDN, String userName, AMIdentity amIdentity, AccountLockoutInfo acInfo) argument
373 setLockoutObjectClass(AMIdentity amIdentity) argument
405 invalidPasswd( AMIdentity amIdentity, AccountLockoutInfo acInfo ) argument
573 inactivateUserAccount(AMIdentity amIdentity) argument
627 isAccountLocked(AMIdentity amIdentity) argument
669 resetLockoutAttempts( String userDN, AMIdentity amIdentity, AccountLockoutInfo acInfo, boolean resetDuration ) argument
[all...]

Completed in 8070 milliseconds

123