The Problem with md5, sha is that passwords get encrypted and stored on the database. It is close to impossible to get the password from the encrypted text. How the application authenticates is that every time the user enters his password the application creates an md5/sha from the password and compares the md5/sha.

rbtechno wrote:
Thanks for your response. i have tried in UserAction as

 user = mgr.getUserByUsername(request.getRemoteUser());
then i got password as:

  System.out.println( "hai "+user.getPassword());

But it returns only encrypted password .how to decrypt the password?


Matt Raible-3 wrote:
Why do you need to get the username and password?  You should be able
to fetch the object in an Action or Controller and display it that way
- similar to how it works in UserAction.

Matt

On 1/8/07, rbtechno <[EMAIL PROTECTED]> wrote:
hai,

    I have added some jsp pages with appfuse.After login, i have to get
username and password  in that pages. i tried with
request.getParameter("j_username"),request.getParameter("j_password").But
i
could get it. so plz help me.











--
View this message in context:
http://www.nabble.com/get-username-and-password-tf2938752s2369.html#a8216117
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to