/forgerock/openam-v13/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/ |
H A D | OpenAMResourceOwner.java | 39 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-scripting/src/main/java/org/forgerock/openam/scripting/api/ |
H A D | ScriptedIdentity.java | 37 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-v13/openam-authentication/deviceprint/module/src/main/java/org/forgerock/openam/authentication/modules/deviceprint/ |
H A D | AMIdentityWrapper.java | 45 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 D | DevicePrintModuleInitialiser.java | 110 * @param amIdentity The user's AM Identity. 116 public DevicePrintAuthenticationService getDevicePrintAuthenticationService(AMIdentity amIdentity, argument 119 AMIdentityWrapper amIdentityWrapper = new AMIdentityWrapper(amIdentity);
|
H A D | UserProfilesDao.java | 58 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 D | AMIdentityWrapper.java | 47 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 D | DevicePrintDao.java | 49 * @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 D | ProfilePersister.java | 41 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-v13/openam-authentication/openam-auth-device-id/src/test/java/org/forgerock/openam/authentication/modules/deviceprint/ |
H A D | ProfilePersisterTest.java | 43 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-oauth2/src/main/java/org/forgerock/oauth2/core/ |
H A D | ResourceOwner.java | 38 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/openam-scripting/src/main/java/org/forgerock/openam/scripting/api/ |
H A D | ScriptedIdentity.java | 37 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-authentication/openam-auth-device-id/src/main/java/org/forgerock/openam/authentication/modules/deviceprint/ |
H A D | AMIdentityWrapper.java | 47 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 D | DevicePrintDao.java | 49 * @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 D | ProfilePersister.java | 43 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/openam-authentication/openam-auth-device-id/src/test/java/org/forgerock/openam/authentication/modules/deviceprint/ |
H A D | ProfilePersisterTest.java | 44 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-v13/openam-oauth2/src/test/java/org/forgerock/openam/oauth2/ |
H A D | OpenAMClientRegistrationTest.java | 43 private AMIdentity amIdentity; field in class:OpenAMClientRegistrationTest 54 clientRegistration = new OpenAMClientRegistration(amIdentity, new PEMDecoder(), resolver, providerSettings, failureFactory); 60 when(amIdentity.getAttribute(NAME)).thenReturn(asSet("[0]=Name1", "[2]=en|Name2", "[1]=en_GB|Name3")); 72 when(amIdentity.getAttribute(DESCRIPTION)).thenReturn(asSet("[0]=Desc1", "[1]=en|Desc2", "[2]=en_GB|Desc3")); 121 when(amIdentity.getAttribute(DEFAULT_SCOPES)).thenReturn(asSet(
|
/forgerock/openam-v13/openam-federation/OpenFM/src/main/java/com/sun/identity/liberty/ws/disco/plugins/ |
H A D | DiscoEntryHandlerImplUtils.java | 418 public static void getGlobalDiscoEntries(AMIdentity amIdentity, argument 421 Map map = amIdentity.getServiceAttributes( 481 * @param amIdentity the idrepo object that the resource offerings are 489 AMIdentity amIdentity, String attrName, Collection entries) { 504 amIdentity.modifyService("sunIdentityServerDiscoveryService", map); 505 amIdentity.store(); 488 setGlobalDiscoEntries( AMIdentity amIdentity, String attrName, Collection entries) argument
|
/forgerock/openam/openam-federation/OpenFM/src/main/java/com/sun/identity/liberty/ws/disco/plugins/ |
H A D | DiscoEntryHandlerImplUtils.java | 418 public static void getGlobalDiscoEntries(AMIdentity amIdentity, argument 421 Map map = amIdentity.getServiceAttributes( 481 * @param amIdentity the idrepo object that the resource offerings are 489 AMIdentity amIdentity, String attrName, Collection entries) { 504 amIdentity.modifyService("sunIdentityServerDiscoveryService", map); 505 amIdentity.store(); 488 setGlobalDiscoEntries( AMIdentity amIdentity, String attrName, Collection entries) argument
|
/forgerock/openam/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/session/ |
H A D | SessionResourceV2Test.java | 71 private AMIdentity amIdentity; field in class:SessionResourceV2Test 89 amIdentity = new AMIdentity(DN.valueOf("id=demo,dc=example,dc=com"), null); 97 return amIdentity;
|
H A D | SessionResourceTest.java | 99 private AMIdentity amIdentity; field in class:SessionResourceTest 125 amIdentity = new AMIdentity(DN.valueOf("id=demo,dc=example,dc=com"), null); 141 return amIdentity;
|
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/service/ |
H A D | AMAccountLockout.java | 119 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-v13/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/session/ |
H A D | SessionResourceTest.java | 84 private AMIdentity amIdentity; field in class:SessionResourceTest 104 amIdentity = new AMIdentity(DN.valueOf("id=demo,dc=example,dc=com"), null); 111 return amIdentity;
|
/forgerock/openam/openam-oauth2/src/test/java/org/forgerock/openam/oauth2/ |
H A D | OpenAMClientRegistrationTest.java | 71 private AMIdentity amIdentity; field in class:OpenAMClientRegistrationTest 91 clientRegistration = new OpenAMClientRegistration(amIdentity, new PEMDecoder(), resolver, providerSettings, 162 when(amIdentity.getAttribute(NAME)).thenReturn(asSet("[0]=Name1", "[2]=en|Name2", "[1]=en_GB|Name3")); 174 when(amIdentity.getAttribute(DESCRIPTION)).thenReturn(asSet("[0]=Desc1", "[1]=en|Desc2", "[2]=en_GB|Desc3")); 223 when(amIdentity.getAttribute(DEFAULT_SCOPES)).thenReturn(asSet( 278 when(amIdentity.getAttribute("idTokenEncryptionAlgorithm")).thenReturn(singleton(jweAlgorithm.toString())); 279 when(amIdentity.getAttribute("idTokenPublicEncryptionKey")).thenReturn(singleton(pem(publicEncryptionKey))); 280 when(amIdentity.getAttribute("userpassword")).thenReturn(singleton("password")); 281 when(amIdentity.getAttribute(OAuth2Constants.OAuth2Client.CLIENT_TYPE)).thenReturn(singleton("CONFIDENTIAL")); 282 when(amIdentity [all...] |
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/service/ |
H A D | AMAccountLockout.java | 121 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-core/src/main/java/com/sun/identity/common/ |
H A D | ISAccountLockout.java | 202 * @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...] |