DBA Data[Home] [Help]

APPS.FND_LDAP_USER dependencies on FND_OID_UTIL

Line 64: -- l_apps_user_key_type fnd_oid_util.apps_user_key_type;

60: l_guid raw(256);
61: l_fnd_op pls_integer;
62: l_oid_op pls_integer;
63: sso_registration_failure exception;
64: -- l_apps_user_key_type fnd_oid_util.apps_user_key_type;
65: l_orclguid fnd_user.user_guid%type;
66: begin
67:
68: -- initializing

Line 78: -- l_apps_user_key_type := fnd_oid_util.get_fnd_user(p_user_name => p_user_name);

74: fnd_log.string(fnd_log.LEVEL_STATEMENT, l_module_source, 'Begin');
75: end if;
76:
77: --scheruku :: Added logic to get orclguid from fnd_user
78: -- l_apps_user_key_type := fnd_oid_util.get_fnd_user(p_user_name => p_user_name);
79: -- l_orclguid := l_apps_user_key_type.user_guid;
80: l_orclguid := p_user_guid;
81:
82: if(l_orclguid IS NULL)

Line 215: if (not l_profile_defined or l_local_login = fnd_oid_util.G_LOCAL) then

211: user_id_z => l_user_id,
212: val_z => l_local_login,
213: defined_z => l_profile_defined);
214:
215: if (not l_profile_defined or l_local_login = fnd_oid_util.G_LOCAL) then
216: if (fnd_log.LEVEL_STATEMENT >= fnd_log.G_CURRENT_RUNTIME_LEVEL) then
217: fnd_log.string(fnd_log.LEVEL_STATEMENT, l_module_source, 'value of APPS_SSO_LOCAL_LOGIN:: '|| l_local_login);
218: fnd_log.string(fnd_log.LEVEL_STATEMENT, l_module_source, 'Local user dont sych '|| p_user_name);
219: end if;

Line 226: if (not l_profile_defined or l_allow_sync = fnd_oid_util.G_N) then

222: fnd_profile.get_specific(name_z => 'APPS_SSO_LDAP_SYNC',
223: user_id_z => l_user_id,
224: val_z => l_allow_sync,
225: defined_z => l_profile_defined);
226: if (not l_profile_defined or l_allow_sync = fnd_oid_util.G_N) then
227: if (fnd_log.LEVEL_STATEMENT >= fnd_log.G_CURRENT_RUNTIME_LEVEL) then
228: fnd_log.string(fnd_log.LEVEL_STATEMENT, l_module_source, 'value of APPS_SSO_LDAP_SYNC '|| l_allow_sync);
229: fnd_log.string(fnd_log.LEVEL_STATEMENT, l_module_source, 'Synch profile is disabled for user ...dont sych '|| p_user_name);
230: end if;

Line 363: if (not l_profile_defined or l_local_login = fnd_oid_util.G_LOCAL)

359: user_id_z => l_user_id,
360: val_z => l_local_login,
361: defined_z => l_profile_defined);
362:
363: if (not l_profile_defined or l_local_login = fnd_oid_util.G_LOCAL)
364: then
365: if (fnd_log.LEVEL_STATEMENT >= fnd_log.G_CURRENT_RUNTIME_LEVEL)
366: then
367: if(l_profile_defined)

Line 388: if (not l_profile_defined or l_allow_sync = fnd_oid_util.G_N)

384: user_id_z => l_user_id,
385: val_z => l_allow_sync,
386: defined_z => l_profile_defined);
387:
388: if (not l_profile_defined or l_allow_sync = fnd_oid_util.G_N)
389: then
390: if (fnd_log.LEVEL_STATEMENT >= fnd_log.G_CURRENT_RUNTIME_LEVEL)
391: then
392: fnd_log.string(fnd_log.LEVEL_STATEMENT, l_module_source,

Line 425: l_old_nick_name := upper(fnd_oid_util.get_oid_nickname(p_user_guid => p_user_guid));

421: -- Release%203.1/Username_Change.gif
422: -- Refer to bug 4655260.
423:
424: l_new_user_name_exists := FND_LDAP_UTIL.G_TRUE;
425: l_old_nick_name := upper(fnd_oid_util.get_oid_nickname(p_user_guid => p_user_guid));
426:
427: if(l_old_nick_name = p_old_user_name)
428: then
429: if (fnd_log.LEVEL_STATEMENT >= fnd_log.G_CURRENT_RUNTIME_LEVEL)

Line 572: l_enabled := fnd_oid_util.G_ENABLED;

568: then
569: fnd_log.string(fnd_log.LEVEL_STATEMENT, l_module_source, 'Begin');
570: end if;
571:
572: l_enabled := fnd_oid_util.G_ENABLED;
573:
574: if ((p_start_date is not null and p_start_date > sysdate)
575: or
576: (p_end_date is not null and p_end_date <= sysdate))

Line 578: usertype.orclisEnabled := fnd_oid_util.G_DISABLED;

574: if ((p_start_date is not null and p_start_date > sysdate)
575: or
576: (p_end_date is not null and p_end_date <= sysdate))
577: then
578: usertype.orclisEnabled := fnd_oid_util.G_DISABLED;
579: else
580: usertype.orclisEnabled := fnd_oid_util.G_ENABLED;
581: end if;
582:

Line 580: usertype.orclisEnabled := fnd_oid_util.G_ENABLED;

576: (p_end_date is not null and p_end_date <= sysdate))
577: then
578: usertype.orclisEnabled := fnd_oid_util.G_DISABLED;
579: else
580: usertype.orclisEnabled := fnd_oid_util.G_ENABLED;
581: end if;
582:
583: if (p_expire_password = fnd_ldap_util.G_TRUE) then
584: l_password := p_password;

Line 592: if ( (l_password is null) and (usertype.orclisEnabled = fnd_oid_util.G_DISABLED) ) then

588:
589: /* If self service user and pending user, create the user as enabled user first and then change
590: the flag to enabled after the password has been updated by proxying as that user. This is because
591: we cannot proxy as a disabled user. */
592: if ( (l_password is null) and (usertype.orclisEnabled = fnd_oid_util.G_DISABLED) ) then
593: l_enabled := fnd_oid_util.G_DISABLED;
594: usertype.orclisEnabled := fnd_oid_util.G_ENABLED;
595: end if;
596:

Line 593: l_enabled := fnd_oid_util.G_DISABLED;

589: /* If self service user and pending user, create the user as enabled user first and then change
590: the flag to enabled after the password has been updated by proxying as that user. This is because
591: we cannot proxy as a disabled user. */
592: if ( (l_password is null) and (usertype.orclisEnabled = fnd_oid_util.G_DISABLED) ) then
593: l_enabled := fnd_oid_util.G_DISABLED;
594: usertype.orclisEnabled := fnd_oid_util.G_ENABLED;
595: end if;
596:
597: -- first create user. If self service, then pass in a null password

Line 594: usertype.orclisEnabled := fnd_oid_util.G_ENABLED;

590: the flag to enabled after the password has been updated by proxying as that user. This is because
591: we cannot proxy as a disabled user. */
592: if ( (l_password is null) and (usertype.orclisEnabled = fnd_oid_util.G_DISABLED) ) then
593: l_enabled := fnd_oid_util.G_DISABLED;
594: usertype.orclisEnabled := fnd_oid_util.G_ENABLED;
595: end if;
596:
597: -- first create user. If self service, then pass in a null password
598: user_name := p_user_name;

Line 644: if (l_enabled = fnd_oid_util.G_DISABLED) then

640: p_expire_password,
641: x_password,
642: l_cp_result);
643:
644: if (l_enabled = fnd_oid_util.G_DISABLED) then
645: disable_user(x_user_guid,
646: p_user_name,
647: l_du_result);
648: end if;

Line 1025: x_orclisEnabled := fnd_oid_util.G_DISABLED;

1021: if (fnd_log.LEVEL_STATEMENT >= fnd_log.G_CURRENT_RUNTIME_LEVEL)
1022: then
1023: fnd_log.string(fnd_log.LEVEL_STATEMENT, l_module_source, 'User is disabled');
1024: end if;
1025: x_orclisEnabled := fnd_oid_util.G_DISABLED;
1026:
1027: else
1028: x_orclisEnabled := fnd_oid_util.G_ENABLED;
1029: end if;

Line 1028: x_orclisEnabled := fnd_oid_util.G_ENABLED;

1024: end if;
1025: x_orclisEnabled := fnd_oid_util.G_DISABLED;
1026:
1027: else
1028: x_orclisEnabled := fnd_oid_util.G_ENABLED;
1029: end if;
1030:
1031: if (fnd_log.LEVEL_STATEMENT >= fnd_log.G_CURRENT_RUNTIME_LEVEL)
1032: then

Line 1240: usertype.orclisEnabled := fnd_oid_util.G_DISABLED;

1236: then
1237: fnd_log.string(fnd_log.LEVEL_STATEMENT, l_module_source, 'Begin');
1238: end if;
1239:
1240: usertype.orclisEnabled := fnd_oid_util.G_DISABLED;
1241: usertype.orclGUID := p_user_guid;
1242:
1243: x_result := update_user(usertype);
1244:

Line 1527: fnd_oid_util.add_user_to_OID_sub_list(p_orclguid => l_orclguid, x_result => l_result);

1523:
1524: if (l_orclguid is not null ) then
1525:
1526:
1527: fnd_oid_util.add_user_to_OID_sub_list(p_orclguid => l_orclguid, x_result => l_result);
1528:
1529: x_result := l_result;
1530:
1531: if (l_result = fnd_ldap_util.G_SUCCESS) then

Line 1866: if (not l_profile_defined or l_local_login = fnd_oid_util.G_LOCAL)

1862: user_id_z => l_user_id,
1863: val_z => l_local_login,
1864: defined_z => l_profile_defined);
1865:
1866: if (not l_profile_defined or l_local_login = fnd_oid_util.G_LOCAL)
1867: then
1868: if (fnd_log.LEVEL_STATEMENT >= fnd_log.G_CURRENT_RUNTIME_LEVEL)
1869: then
1870: fnd_log.string(fnd_log.LEVEL_STATEMENT, l_module_source,

Line 1882: if (not l_profile_defined or l_allow_sync = fnd_oid_util.G_N)

1878: user_id_z => l_user_id,
1879: val_z => l_allow_sync,
1880: defined_z => l_profile_defined);
1881:
1882: if (not l_profile_defined or l_allow_sync = fnd_oid_util.G_N)
1883: then
1884: if (fnd_log.LEVEL_STATEMENT >= fnd_log.G_CURRENT_RUNTIME_LEVEL)
1885: then
1886: fnd_log.string(fnd_log.LEVEL_STATEMENT, l_module_source,

Line 1903: if (l_orclisEnabled = fnd_oid_util.G_ENABLED)

1899: -- usertype.uid := p_user_name;
1900: usertype.userPassword := p_password;
1901: usertype.description := p_description;
1902:
1903: if (l_orclisEnabled = fnd_oid_util.G_ENABLED)
1904: then
1905: usertype.orclisEnabled := fnd_oid_util.G_ENABLED;
1906: end if;
1907:

Line 1905: usertype.orclisEnabled := fnd_oid_util.G_ENABLED;

1901: usertype.description := p_description;
1902:
1903: if (l_orclisEnabled = fnd_oid_util.G_ENABLED)
1904: then
1905: usertype.orclisEnabled := fnd_oid_util.G_ENABLED;
1906: end if;
1907:
1908: usertype.orclGUID := p_user_guid;
1909:

Line 2033: if (not l_profile_defined or l_local_login = fnd_oid_util.G_LOCAL)

2029: user_id_z => l_user_id,
2030: val_z => l_local_login,
2031: defined_z => l_profile_defined);
2032:
2033: if (not l_profile_defined or l_local_login = fnd_oid_util.G_LOCAL)
2034: then
2035: if (fnd_log.LEVEL_STATEMENT >= fnd_log.G_CURRENT_RUNTIME_LEVEL)
2036: then
2037: fnd_log.string(fnd_log.LEVEL_STATEMENT, l_module_source,

Line 2049: if (not l_profile_defined or l_allow_sync = fnd_oid_util.G_N)

2045: user_id_z => l_user_id,
2046: val_z => l_allow_sync,
2047: defined_z => l_profile_defined);
2048:
2049: if (not l_profile_defined or l_allow_sync = fnd_oid_util.G_N)
2050: then
2051: if (fnd_log.LEVEL_STATEMENT >= fnd_log.G_CURRENT_RUNTIME_LEVEL)
2052: then
2053: fnd_log.string(fnd_log.LEVEL_STATEMENT, l_module_source,

Line 2069: if (l_orclisEnabled = fnd_oid_util.G_ENABLED) then

2065:
2066: usertype.orclGUID := p_user_guid;
2067: usertype.description := p_description;
2068:
2069: if (l_orclisEnabled = fnd_oid_util.G_ENABLED) then
2070: usertype.orclisEnabled := fnd_oid_util.G_ENABLED;
2071: end if;
2072:
2073: --l_nickname := fnd_ldap_util.get_orclcommonnicknameattr;

Line 2070: usertype.orclisEnabled := fnd_oid_util.G_ENABLED;

2066: usertype.orclGUID := p_user_guid;
2067: usertype.description := p_description;
2068:
2069: if (l_orclisEnabled = fnd_oid_util.G_ENABLED) then
2070: usertype.orclisEnabled := fnd_oid_util.G_ENABLED;
2071: end if;
2072:
2073: --l_nickname := fnd_ldap_util.get_orclcommonnicknameattr;
2074: l_nickname := fnd_oid_plug.getNickNameattr(p_user_name);