DBA Data[Home] [Help]

APPS.FND_USER_PKG dependencies on FND_LDAP_WRAPPER

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

67: end if;
68:
69: -- Bug: 5375111
70: -- Calling ldap_wrapper_wrapper with the new expire_pwd flag.
71: fnd_ldap_wrapper.create_user(x_user_name, l_pwd, x_start_date, x_end_date,
72: x_description, x_email_address, x_fax, x_expire_pwd, x_user_guid,
73: x_oid_pwd, l_result);
74:
75: if (l_result <> fnd_ldap_wrapper.G_SUCCESS) then

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

71: fnd_ldap_wrapper.create_user(x_user_name, l_pwd, x_start_date, x_end_date,
72: x_description, x_email_address, x_fax, x_expire_pwd, x_user_guid,
73: x_oid_pwd, l_result);
74:
75: if (l_result <> fnd_ldap_wrapper.G_SUCCESS) then
76: reason := fnd_message.get;
77: fnd_message.set_name('FND', 'LDAP_WRAPPER_CREATE_USER_FAIL');
78: fnd_message.set_token('USER_NAME', x_user_name);
79: fnd_message.set_token('REASON', reason);

Line 385: select fnd_ldap_wrapper.G_TRUE

381: -- But only if there is a new password.
382: if (x_unencrypted_password is not null and
383: x_unencrypted_password <> FND_WEB_SEC.EXTERNAL_PWD) then
384: begin
385: select fnd_ldap_wrapper.G_TRUE
386: into l_expire_pwd
387: from fnd_user
388: where user_name = upper(x_user_name)
389: and (PASSWORD_DATE is NULL or

Line 396: l_expire_pwd := fnd_ldap_wrapper.G_FALSE;

392: (PASSWORD_LIFESPAN_DAYS is not NULL and
393: SYSDATE >= PASSWORD_DATE + PASSWORD_LIFESPAN_DAYS));
394: exception
395: when no_data_found then
396: l_expire_pwd := fnd_ldap_wrapper.G_FALSE;
397: end;
398: end if;
399: -- end 5235329, 5375111
400: ldap_wrapper_update_user(upper(x_user_name), x_unencrypted_password,

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

732: if ((x_change_source is null or
733: x_change_source <> fnd_user_pkg.CHANGE_SOURCE_OID) and
734: pwd <> fnd_web_sec.external_pwd) then
735: -- We need to translate the external constant to null. Otherwise
736: -- fnd_ldap_wrapper.create_user will use that constant as real password.
737: if (pwd = fnd_web_sec.external_pwd) then
738: pwd := '';
739: end if;
740:

Line 756: l_expire_pwd := fnd_ldap_wrapper.G_TRUE;

752: (x_password_lifespan_accesses is not null and
753: nvl(x_password_accesses_left, 0) < 1) or
754: (x_password_lifespan_days is not null and
755: sysdate >= x_password_date + x_password_lifespan_days)) then
756: l_expire_pwd := fnd_ldap_wrapper.G_TRUE;
757: else
758: l_expire_pwd := fnd_ldap_wrapper.G_FALSE;
759: end if;
760: -- end 5235329, 5375111

Line 758: l_expire_pwd := fnd_ldap_wrapper.G_FALSE;

754: (x_password_lifespan_days is not null and
755: sysdate >= x_password_date + x_password_lifespan_days)) then
756: l_expire_pwd := fnd_ldap_wrapper.G_TRUE;
757: else
758: l_expire_pwd := fnd_ldap_wrapper.G_FALSE;
759: end if;
760: -- end 5235329, 5375111
761:
762: -- Begin Bug 4318754, 4424225

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

2998:
2999: -- Bug 4318754. Synch up with SSO
3000: if (l_user_guid is not null) then
3001: begin
3002: fnd_ldap_wrapper.delete_user(l_user_guid, retval);
3003: if (retval <> fnd_ldap_wrapper.G_SUCCESS) then
3004: app_exception.raise_exception;
3005: end if;
3006: exception

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

2999: -- Bug 4318754. Synch up with SSO
3000: if (l_user_guid is not null) then
3001: begin
3002: fnd_ldap_wrapper.delete_user(l_user_guid, retval);
3003: if (retval <> fnd_ldap_wrapper.G_SUCCESS) then
3004: app_exception.raise_exception;
3005: end if;
3006: exception
3007: when others then

Line 3086: fnd_ldap_wrapper.change_user_name(x_user_guid, x_old_user_name,

3082: begin
3083:
3084: l_result := null;
3085:
3086: fnd_ldap_wrapper.change_user_name(x_user_guid, x_old_user_name,
3087: x_new_user_name, l_result);
3088: if (l_result <> fnd_ldap_wrapper.G_SUCCESS) then
3089: reason := fnd_message.get();
3090: fnd_message.set_name('FND', 'LDAP_WRAPPER_CHANGE_USER_FAIL');

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

3084: l_result := null;
3085:
3086: fnd_ldap_wrapper.change_user_name(x_user_guid, x_old_user_name,
3087: x_new_user_name, l_result);
3088: if (l_result <> fnd_ldap_wrapper.G_SUCCESS) then
3089: reason := fnd_message.get();
3090: fnd_message.set_name('FND', 'LDAP_WRAPPER_CHANGE_USER_FAIL');
3091: fnd_message.set_token('REASON', reason);
3092: app_exception.raise_exception;

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

3602: fnd_message.set_name('FND', 'FND_USER_EXISTS_IN_FND');
3603: return(USER_EXISTS_IN_FND);
3604: else
3605: begin
3606: retval := fnd_ldap_wrapper.user_exists(x_user_name);
3607: exception
3608: when others then
3609: app_exception.raise_exception;
3610: end;

Line 3757: fnd_ldap_wrapper.update_user(l_user_guid, x_user_name,

3753: end if; -- End if x_unencrypted_password is not null
3754:
3755: begin
3756:
3757: fnd_ldap_wrapper.update_user(l_user_guid, x_user_name,
3758: l_pwd, x_start_date, x_end_date, x_description,
3759: x_email_address, x_fax, x_expire_pwd, l_pwd_ret, l_result);
3760:
3761: if (l_result <> fnd_ldap_wrapper.G_SUCCESS) then

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

3757: fnd_ldap_wrapper.update_user(l_user_guid, x_user_name,
3758: l_pwd, x_start_date, x_end_date, x_description,
3759: x_email_address, x_fax, x_expire_pwd, l_pwd_ret, l_result);
3760:
3761: if (l_result <> fnd_ldap_wrapper.G_SUCCESS) then
3762: reason := fnd_message.get();
3763: fnd_message.set_name('FND', 'LDAP_WRAPPER_UPDATE_USER_FAIL');
3764: fnd_message.set_token('USER_NAME', x_user_name);
3765: fnd_message.set_token('REASON', reason);

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

3788: ----------------------------------------------------------------------------
3789: --
3790: -- ldap_wrapper_update_user (PUBLIC)
3791: -- This is called by the fnd_user_pkg and fnd_web_sec
3792: -- It serves as a helper routine to call fnd_ldap_wrapper.update_user
3793: -- when we need to synch the user update to OID.
3794: -- Note
3795: -- Please note that even this is public procedure, it does not mean for
3796: -- other public usage. This is mainly created as a helper routine to

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

3826:
3827: --
3828: -- ldap_wrapper_create_user (PUBLIC)
3829: -- This is called by user form and the fnd_user_pkg.
3830: -- It serves as a helper routine to call fnd_ldap_wrapper.create_user
3831: -- when we need to synch that new FND user to OID.
3832: -- It also takes care of updating fnd_user with the user_guid and oid_pwd
3833: -- coming back from ldap_wrapper layer.
3834: -- Note

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

3917: ----------------------------------------------------------------------------
3918: --
3919: -- form_ldap_wrapper_update_user (PUBLIC)
3920: -- This is called by user form.
3921: -- It serves as a helper routine to call fnd_ldap_wrapper.update_user
3922: -- when we need to synch the user update to OID.
3923: -- Note
3924: -- Please note that even this is public procedure, it does not mean for
3925: -- other public usage. This is mainly created as a helper routine to

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

3970: -- because any password update in USER form should result password
3971: -- expiration.
3972: l_pwd_ret := ldap_wrp_update_user_helper(x_user_name,
3973: x_unencrypted_password, x_start_date, l_end_date, l_description,
3974: l_email_address, l_fax, fnd_ldap_wrapper.G_TRUE );
3975:
3976: -- Return the ldap out password to User form.
3977: x_out_pwd := l_pwd_ret;
3978:

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

3985: -- This routine is for AOL INTERNAL USE ONLY !!!!!!!
3986: --
3987: -- ldap_wrp_update_user_loader
3988: -- This is called by the fnd_user_pkg and fnd_web_sec.
3989: -- It serves as a helper routine to call fnd_ldap_wrapper.update_user
3990: -- when we need to synch the user update to OID.
3991: procedure ldap_wrp_update_user_loader(x_user_name in varchar2,
3992: x_hashed_password in varchar2,
3993: x_start_date in date,

Line 4020: fnd_ldap_wrapper.update_user(l_user_guid, x_user_name,

4016: if (l_user_guid is null) then
4017: return;
4018: end if;
4019:
4020: fnd_ldap_wrapper.update_user(l_user_guid, x_user_name,
4021: x_hashed_password, x_start_date, x_end_date, x_description,
4022: x_email_address, x_fax, x_expire_pwd, l_pwd_ret, l_result);
4023:
4024: if (l_result <> fnd_ldap_wrapper.G_SUCCESS) then

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

4020: fnd_ldap_wrapper.update_user(l_user_guid, x_user_name,
4021: x_hashed_password, x_start_date, x_end_date, x_description,
4022: x_email_address, x_fax, x_expire_pwd, l_pwd_ret, l_result);
4023:
4024: if (l_result <> fnd_ldap_wrapper.G_SUCCESS) then
4025: reason := fnd_message.get();
4026: fnd_message.set_name('FND', 'LDAP_WRAPPER_UPDATE_USER_FAIL');
4027: fnd_message.set_token('USER_NAME', x_user_name);
4028: fnd_message.set_token('REASON', reason);