DBA Data[Home] [Help]

APPS.JTF_UM_PASSWORD_PVT dependencies on DBMS_RANDOM

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

89: -- API body
90: --
91:
92: -- initialize the random number generator
93: dbms_random.initialize(dbms_utility.get_time);
94:
95: -- using the profile, determine the length of the random number
96: l_password_len := nvl(fnd_profile.value('SIGNON_PASSWORD_LENGTH'),
97: l_password_len);

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

99: -- generate a random number to determine where to use an alphabet or a
100: -- numeric character for a given position in the password
101:
102: for j in 1..l_password_len loop
103: if (mod(abs(dbms_random.random),2) = 1) then
104: -- generate number
105: x_password := x_password || mod(abs(dbms_random.random),10);
106: else
107: -- generate character

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

101:
102: for j in 1..l_password_len loop
103: if (mod(abs(dbms_random.random),2) = 1) then
104: -- generate number
105: x_password := x_password || mod(abs(dbms_random.random),10);
106: else
107: -- generate character
108: x_password := x_password || fnd_global.local_chr(mod(abs(dbms_random.random),26)
109: + ascii_offset);

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

104: -- generate number
105: x_password := x_password || mod(abs(dbms_random.random),10);
106: else
107: -- generate character
108: x_password := x_password || fnd_global.local_chr(mod(abs(dbms_random.random),26)
109: + ascii_offset);
110: end if;
111: end loop;
112:

Line 114: dbms_random.terminate;

110: end if;
111: end loop;
112:
113: -- terminate the random number generator
114: dbms_random.terminate;
115:
116: --
117: -- End of API body
118: --