aspose file tools*
The moose likes Struts and the fly likes Regarding random password generation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Regarding random password generation" Watch "Regarding random password generation" New topic
Author

Regarding random password generation

Deepthi Xavy
Ranch Hand

Joined: Aug 31, 2009
Posts: 32
Hai friends....

Am doing an application in struts2,in that when the user login for first time,a random password will be stored ...how to do in struts2.....
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Random + Java


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

How can they log in without a password?
Nishan Patel
Ranch Hand

Joined: Sep 07, 2008
Posts: 689

David Newton wrote:How can they log in without a password?


David same thing currently implemented so many live application. When user registered first time it is automatically login to the application. And random generated password send to the user in mail. If user want to change his/her password first he/she has to entered random generated password.

OR

Mail contains link which doesn't required authentication and just click on link application registered session and user login to application. Now this mail also contains random generated password.

If user want to change his/her password first he/she has to entered random generated password. .. Something like that...


Thanks, Nishan Patel
SCJP 1.5, SCWCD 1.5, OCPJWSD Java Developer,My Blog
 
Consider Paul's rocket mass heater.
 
subject: Regarding random password generation