cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <>
Subject Re: generate passwords in xsp
Date Wed, 25 Aug 2004 10:56:44 GMT

It should be possible to use java.util.Random class
to generate numbers and then use this to create
a string of, say, 8 alpha-numeric characters, using
a loop to pick each character from the base string.  
If  your password is case sensitive, this gives you
62 characters in the base string to choose from 
(a..z, A..Z, 0..9) - pretty small odds of any repetition there!


>>> 2004/08/25 12:10:27 PM >>>
Hi robby,
 You can write one java program which genrates new password 
 import  java program into xsp 
I hope this solves yr problem.
Thanks & Regards
Sud wrote:

i would like to write an xsp that generates random passwords with some
of algorithm... Anyone any ideas on this topic?

Kind regards,

To unsubscribe, e-mail: 
For additional commands, e-mail: 

Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message