Re: [appfuse-user] get username and password

2007-01-09 Thread Thomas Ramapuram
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 a

Re: [appfuse-user] get username and password

2007-01-09 Thread Matt Raible
You can't decrypt the passwords - they use a one-way encryption algorithm (SHA) for security purposes. Matt On 1/9/07, rbtechno <[EMAIL PROTECTED]> wrote: Thanks for your response. i have tried in UserAction as user = mgr.getUserByUsername(request.getRemoteUser()); then i got password as:

Re: [appfuse-user] get username and password

2007-01-09 Thread rbtechno
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?

Re: [appfuse-user] get username and password

2007-01-08 Thread Matt Raible
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 log

[appfuse-user] get username and password

2007-01-08 Thread rbtechno
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