DBA Data[Home] [Help]

APPS.UMX_PASSWORD_PVT dependencies on DBMS_RANDOM

Line 195: --dbms_random.initialize(dbms_utility.get_time);

191: 'fnd.plsql.UMXVUPWB.generate_password.begin', '');
192: end if;
193:
194: -- initialize the random number generator
195: --dbms_random.initialize(dbms_utility.get_time);
196:
197: -- using the profile, determine the length of the random number
198: l_password_len := greatest(nvl(fnd_profile.value('SIGNON_PASSWORD_LENGTH'), l_password_len), l_password_len);
199:

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

206: 'l_password_len: ' || l_password_len);
207: end if;
208:
209: for j in 1..l_password_len loop
210: if (mod(abs(dbms_random.random),2) = 1) then
211: -- generate number
212: x_password := x_password || mod(abs(FND_CRYPTO.SmallRandomNumber),10);
213: else
214: -- generate character

Line 221: --dbms_random.terminate;

217: end if;
218: end loop;
219:
220: -- terminate the random number generator
221: --dbms_random.terminate;
222:
223: if (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_PROCEDURE) then
224: FND_LOG.STRING (FND_LOG.LEVEL_PROCEDURE,
225: 'fnd.plsql.UMXVUPWB.generate_password.end',