DBA Data[Home] [Help]

APPS.JTF_UM_FORGOT_PASSWD dependencies on DBMS_RANDOM

Line 28: dbms_random.initialize(dbms_utility.get_time);

24:
25: begin
26:
27: -- initialize the random number generator
28: dbms_random.initialize(dbms_utility.get_time);
29:
30: -- using the profile, determine the length of the random number
31: l_password_len := greatest(nvl(fnd_profile.value('SIGNON_PASSWORD_LENGTH'), l_password_len), l_password_len);
32:

Line 37: if (mod(abs(dbms_random.random),2) = 1) then

33: -- generate a random number to determine where to use an alphabet or a
34: -- numeric character for a given position in the password
35:
36: for j in 1..l_password_len loop
37: if (mod(abs(dbms_random.random),2) = 1) then
38: -- generate number
39: x_password := x_password || mod(abs(dbms_random.random),10);
40: else
41: -- generate character

Line 39: x_password := x_password || mod(abs(dbms_random.random),10);

35:
36: for j in 1..l_password_len loop
37: if (mod(abs(dbms_random.random),2) = 1) then
38: -- generate number
39: x_password := x_password || mod(abs(dbms_random.random),10);
40: else
41: -- generate character
42: x_password := x_password || fnd_global.local_chr(mod(abs(dbms_random.random),26)
43: + ascii_offset);

Line 42: x_password := x_password || fnd_global.local_chr(mod(abs(dbms_random.random),26)

38: -- generate number
39: x_password := x_password || mod(abs(dbms_random.random),10);
40: else
41: -- generate character
42: x_password := x_password || fnd_global.local_chr(mod(abs(dbms_random.random),26)
43: + ascii_offset);
44: end if;
45: end loop;
46:

Line 48: dbms_random.terminate;

44: end if;
45: end loop;
46:
47: -- terminate the random number generator
48: dbms_random.terminate;
49:
50: return x_password;
51:
52: end generate_password;

Line 152: -- DBMS_RANDOM.initialize(12345);

148: IF l_auth_mode <> 'LDAP' THEN
149: WF_DIRECTORY.GetRoleInfo(upper(c_user_name), display_name, email_address, notification_preference, language, territory);
150:
151:
152: -- DBMS_RANDOM.initialize(12345);
153: -- p_password := to_char(dbms_random.random);
154: -- rno := to_number(DBMS_RANDOM.random);
155: -- p_password := 'P'||rno||'W';
156:

Line 153: -- p_password := to_char(dbms_random.random);

149: WF_DIRECTORY.GetRoleInfo(upper(c_user_name), display_name, email_address, notification_preference, language, territory);
150:
151:
152: -- DBMS_RANDOM.initialize(12345);
153: -- p_password := to_char(dbms_random.random);
154: -- rno := to_number(DBMS_RANDOM.random);
155: -- p_password := 'P'||rno||'W';
156:
157:

Line 154: -- rno := to_number(DBMS_RANDOM.random);

150:
151:
152: -- DBMS_RANDOM.initialize(12345);
153: -- p_password := to_char(dbms_random.random);
154: -- rno := to_number(DBMS_RANDOM.random);
155: -- p_password := 'P'||rno||'W';
156:
157:
158: -- p_password := generate_password;

Line 180: -- DBMS_RANDOM.terminate;

176:
177: WF_EVENT.Raise(p_event_name=>'oracle.apps.fnd.user.password.reset_requested',
178: p_event_key=>seq, p_parameters=>e_parameters);
179:
180: -- DBMS_RANDOM.terminate;
181:
182: fnd_message.set_name('ICX','ICX_FORGOT_PASSWORD_NOTIFY');
183: c_error_msg := fnd_message.get;
184: