DBA Data[Home] [Help]

APPS.FND_USER_PKG dependencies on FND_LDAP_WRAPPER

Line 90: fnd_ldap_wrapper.create_user(x_user_name, l_pwd, x_start_date, x_end_date,

86: end if;
87:
88: -- Bug: 5375111
89: -- Calling ldap_wrapper_wrapper with the new expire_pwd flag.
90: fnd_ldap_wrapper.create_user(x_user_name, l_pwd, x_start_date, x_end_date,
91: x_description, x_email_address, x_fax, x_expire_pwd, x_user_guid,
92: x_oid_pwd, l_result);
93:
94: if (l_result <> fnd_ldap_wrapper.G_SUCCESS) then

Line 94: if (l_result <> fnd_ldap_wrapper.G_SUCCESS) then

90: fnd_ldap_wrapper.create_user(x_user_name, l_pwd, x_start_date, x_end_date,
91: x_description, x_email_address, x_fax, x_expire_pwd, x_user_guid,
92: x_oid_pwd, l_result);
93:
94: if (l_result <> fnd_ldap_wrapper.G_SUCCESS) then
95: reason := fnd_message.get;
96: fnd_message.set_name('FND', 'LDAP_WRAPPER_CREATE_USER_FAIL');
97: fnd_message.set_token('USER_NAME', x_user_name);
98: fnd_message.set_token('REASON', reason);

Line 397: G_EXPIRE_USER_PWD := fnd_ldap_wrapper.G_TRUE;

393: c_log_head || l_api_name || '.pwdExpire',
394: 'pwd is not external and should be EXPIRED');
395: end if;
396:
397: G_EXPIRE_USER_PWD := fnd_ldap_wrapper.G_TRUE;
398: else
399: if (fnd_log.LEVEL_STATEMENT >= fnd_log.g_current_runtime_level) then
400: fnd_log.string(FND_LOG.LEVEL_STATEMENT,
401: c_log_head || l_api_name || '.pwdExpire',

Line 405: G_EXPIRE_USER_PWD := fnd_ldap_wrapper.G_FALSE;

401: c_log_head || l_api_name || '.pwdExpire',
402: 'pwd is not external and should NOT be EXPIRED');
403: end if;
404:
405: G_EXPIRE_USER_PWD := fnd_ldap_wrapper.G_FALSE;
406: end if; -- End calculating pwd expiration - bug 13472484
407:
408: end if; -- End calculating password expiration for non-EXTERNAL pwds
409:

Line 1241: -- fnd_ldap_wrapper.create_user will use that constant as real password.

1237: if ((x_change_source is null or
1238: x_change_source <> fnd_user_pkg.CHANGE_SOURCE_OID) and
1239: pwd <> fnd_web_sec.external_pwd) then
1240: -- We need to translate the external constant to null. Otherwise
1241: -- fnd_ldap_wrapper.create_user will use that constant as real password.
1242: if (pwd = fnd_web_sec.external_pwd) then
1243: pwd := '';
1244: end if;
1245:

Line 1304: l_expire_pwd := fnd_ldap_wrapper.G_TRUE;

1300: fnd_log.string(FND_LOG.LEVEL_STATEMENT, c_log_head || l_api_name,
1301: 'Call ldap_wrapper_create_user with expire_pwd flag=true');
1302: end if;
1303:
1304: l_expire_pwd := fnd_ldap_wrapper.G_TRUE;
1305: else
1306:
1307: if (fnd_log.LEVEL_STATEMENT >= fnd_log.g_current_runtime_level) then
1308: fnd_log.string(FND_LOG.LEVEL_STATEMENT, c_log_head || l_api_name,

Line 1312: l_expire_pwd := fnd_ldap_wrapper.G_FALSE;

1308: fnd_log.string(FND_LOG.LEVEL_STATEMENT, c_log_head || l_api_name,
1309: 'Call ldap_wrapper_create_user with expire_pwd flag=false');
1310: end if;
1311:
1312: l_expire_pwd := fnd_ldap_wrapper.G_FALSE;
1313: end if;
1314: -- end 5235329, 5375111
1315:
1316: -- Begin Bug 4318754, 4424225

Line 2071: return fnd_ldap_wrapper.validate_login(username, password);

2067:
2068: function ValidateSSOLogin(username varchar2,
2069: password varchar2) return boolean is
2070: begin
2071: return fnd_ldap_wrapper.validate_login(username, password);
2072: end ValidateSSOLogin;
2073:
2074: ----------------------------------------------------------------------------
2075: --

Line 3624: 'User guid is not null...call fnd_ldap_wrapper.delete_user');

3620: if (l_user_guid is not null) then
3621: begin
3622: if (fnd_log.LEVEL_STATEMENT >= fnd_log.g_current_runtime_level) then
3623: fnd_log.string(FND_LOG.LEVEL_STATEMENT, C_LOG_HEAD || l_api_name,
3624: 'User guid is not null...call fnd_ldap_wrapper.delete_user');
3625: end if;
3626:
3627: fnd_ldap_wrapper.delete_user(l_user_guid, retval);
3628: if (retval <> fnd_ldap_wrapper.G_SUCCESS) then

Line 3627: fnd_ldap_wrapper.delete_user(l_user_guid, retval);

3623: fnd_log.string(FND_LOG.LEVEL_STATEMENT, C_LOG_HEAD || l_api_name,
3624: 'User guid is not null...call fnd_ldap_wrapper.delete_user');
3625: end if;
3626:
3627: fnd_ldap_wrapper.delete_user(l_user_guid, retval);
3628: if (retval <> fnd_ldap_wrapper.G_SUCCESS) then
3629: app_exception.raise_exception;
3630: end if;
3631: exception

Line 3628: if (retval <> fnd_ldap_wrapper.G_SUCCESS) then

3624: 'User guid is not null...call fnd_ldap_wrapper.delete_user');
3625: end if;
3626:
3627: fnd_ldap_wrapper.delete_user(l_user_guid, retval);
3628: if (retval <> fnd_ldap_wrapper.G_SUCCESS) then
3629: app_exception.raise_exception;
3630: end if;
3631: exception
3632: when others then

Line 3736: fnd_ldap_wrapper.change_user_name(x_user_guid, x_old_user_name,

3732: begin
3733:
3734: l_result := null;
3735:
3736: fnd_ldap_wrapper.change_user_name(x_user_guid, x_old_user_name,
3737: x_new_user_name, l_result);
3738: if (l_result <> fnd_ldap_wrapper.G_SUCCESS) then
3739: reason := fnd_message.get();
3740: fnd_message.set_name('FND', 'LDAP_WRAPPER_CHANGE_USER_FAIL');

Line 3738: if (l_result <> fnd_ldap_wrapper.G_SUCCESS) then

3734: l_result := null;
3735:
3736: fnd_ldap_wrapper.change_user_name(x_user_guid, x_old_user_name,
3737: x_new_user_name, l_result);
3738: if (l_result <> fnd_ldap_wrapper.G_SUCCESS) then
3739: reason := fnd_message.get();
3740: fnd_message.set_name('FND', 'LDAP_WRAPPER_CHANGE_USER_FAIL');
3741: fnd_message.set_token('REASON', reason);
3742: app_exception.raise_exception;

Line 4288: retval := fnd_ldap_wrapper.user_exists(x_user_name);

4284: fnd_message.set_name('FND', 'FND_USER_EXISTS_IN_FND');
4285: return(USER_EXISTS_IN_FND);
4286: else
4287: begin
4288: retval := fnd_ldap_wrapper.user_exists(x_user_name);
4289: exception
4290: when others then
4291: app_exception.raise_exception;
4292: end;

Line 4456: 'Now call to fnd_ldap_wrapper.update_user');

4452: begin
4453:
4454: if (fnd_log.LEVEL_STATEMENT >= fnd_log.g_current_runtime_level) then
4455: fnd_log.string(FND_LOG.LEVEL_STATEMENT, c_log_head || l_api_name,
4456: 'Now call to fnd_ldap_wrapper.update_user');
4457: end if;
4458:
4459: fnd_ldap_wrapper.update_user(l_user_guid, x_user_name,
4460: l_pwd, x_start_date, x_end_date, x_description,

Line 4459: fnd_ldap_wrapper.update_user(l_user_guid, x_user_name,

4455: fnd_log.string(FND_LOG.LEVEL_STATEMENT, c_log_head || l_api_name,
4456: 'Now call to fnd_ldap_wrapper.update_user');
4457: end if;
4458:
4459: fnd_ldap_wrapper.update_user(l_user_guid, x_user_name,
4460: l_pwd, x_start_date, x_end_date, x_description,
4461: x_email_address, x_fax, x_expire_pwd, l_pwd_ret, l_result);
4462:
4463: if (l_result <> fnd_ldap_wrapper.G_SUCCESS) then

Line 4463: if (l_result <> fnd_ldap_wrapper.G_SUCCESS) then

4459: fnd_ldap_wrapper.update_user(l_user_guid, x_user_name,
4460: l_pwd, x_start_date, x_end_date, x_description,
4461: x_email_address, x_fax, x_expire_pwd, l_pwd_ret, l_result);
4462:
4463: if (l_result <> fnd_ldap_wrapper.G_SUCCESS) then
4464: reason := fnd_message.get();
4465: fnd_message.set_name('FND', 'LDAP_WRAPPER_UPDATE_USER_FAIL');
4466: fnd_message.set_token('USER_NAME', x_user_name);
4467: fnd_message.set_token('REASON', reason);

Line 4494: -- It serves as a helper routine to call fnd_ldap_wrapper.update_user

4490: ----------------------------------------------------------------------------
4491: --
4492: -- ldap_wrapper_update_user (PUBLIC)
4493: -- This is called by the fnd_user_pkg and fnd_web_sec
4494: -- It serves as a helper routine to call fnd_ldap_wrapper.update_user
4495: -- when we need to synch the user update to OID.
4496: -- Note
4497: -- Please note that even this is public procedure, it does not mean for
4498: -- other public usage. This is mainly created as a helper routine to

Line 4515: 'Begin - set l_expire_pwd before calling fnd_ldap_wrapper');

4511: begin
4512:
4513: if (fnd_log.LEVEL_STATEMENT >= fnd_log.g_current_runtime_level) then
4514: fnd_log.string(FND_LOG.LEVEL_STATEMENT, c_log_head||'.'||l_api_name,
4515: 'Begin - set l_expire_pwd before calling fnd_ldap_wrapper');
4516: end if;
4517:
4518: -- Bug 13472484 - Using global when called from fnd_web_sec.change_password
4519: -- APIs since the expiration calculation is done in fnd_user_pkg.UpdateUserInternal.

Line 4562: -- It serves as a helper routine to call fnd_ldap_wrapper.create_user

4558:
4559: --
4560: -- ldap_wrapper_create_user (PUBLIC)
4561: -- This is called by user form and the fnd_user_pkg.
4562: -- It serves as a helper routine to call fnd_ldap_wrapper.create_user
4563: -- when we need to synch that new FND user to OID.
4564: -- It also takes care of updating fnd_user with the user_guid and oid_pwd
4565: -- coming back from ldap_wrapper layer.
4566: -- Note

Line 4653: -- It serves as a helper routine to call fnd_ldap_wrapper.update_user

4649: ----------------------------------------------------------------------------
4650: --
4651: -- form_ldap_wrapper_update_user (PUBLIC)
4652: -- This is called by user form.
4653: -- It serves as a helper routine to call fnd_ldap_wrapper.update_user
4654: -- when we need to synch the user update to OID.
4655: -- Note
4656: -- Please note that even this is public procedure, it does not mean for
4657: -- other public usage. This is mainly created as a helper routine to

Line 4695: l_email_address, l_fax, fnd_ldap_wrapper.G_TRUE );

4691: -- because any password update in USER form should result password
4692: -- expiration.
4693: l_pwd_ret := ldap_wrp_update_user_helper(x_user_name,
4694: x_unencrypted_password, x_start_date, l_end_date, l_description,
4695: l_email_address, l_fax, fnd_ldap_wrapper.G_TRUE );
4696:
4697: -- Return the ldap out password to User form.
4698: x_out_pwd := l_pwd_ret;
4699:

Line 4710: -- It serves as a helper routine to call fnd_ldap_wrapper.update_user

4706: -- This routine is for AOL INTERNAL USE ONLY !!!!!!!
4707: --
4708: -- ldap_wrp_update_user_loader
4709: -- This is called by the fnd_user_pkg and fnd_web_sec.
4710: -- It serves as a helper routine to call fnd_ldap_wrapper.update_user
4711: -- when we need to synch the user update to OID.
4712: procedure ldap_wrp_update_user_loader(x_user_name in varchar2,
4713: x_hashed_password in varchar2,
4714: x_start_date in date,

Line 4741: fnd_ldap_wrapper.update_user(l_user_guid, x_user_name,

4737: if (l_user_guid is null) then
4738: return;
4739: end if;
4740:
4741: fnd_ldap_wrapper.update_user(l_user_guid, x_user_name,
4742: x_hashed_password, x_start_date, x_end_date, x_description,
4743: x_email_address, x_fax, x_expire_pwd, l_pwd_ret, l_result);
4744:
4745: if (l_result <> fnd_ldap_wrapper.G_SUCCESS) then

Line 4745: if (l_result <> fnd_ldap_wrapper.G_SUCCESS) then

4741: fnd_ldap_wrapper.update_user(l_user_guid, x_user_name,
4742: x_hashed_password, x_start_date, x_end_date, x_description,
4743: x_email_address, x_fax, x_expire_pwd, l_pwd_ret, l_result);
4744:
4745: if (l_result <> fnd_ldap_wrapper.G_SUCCESS) then
4746: reason := fnd_message.get();
4747: fnd_message.set_name('FND', 'LDAP_WRAPPER_UPDATE_USER_FAIL');
4748: fnd_message.set_token('USER_NAME', x_user_name);
4749: fnd_message.set_token('REASON', reason);