aspose file tools
The moose likes Servlets and the fly likes problem with registration and login using JASYPT Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "problem with registration and login using JASYPT" Watch "problem with registration and login using JASYPT" New topic
Author

problem with registration and login using JASYPT

Pranav Bhatt
Ranch Hand

Joined: Mar 20, 2006
Posts: 283
Hi,
i am working on an struts application. I need to register a user and encrypt his Password in my DataBase. While the next time the user login, what am doing is to get his password from the html form and check it with the encrypted password from database.
But the passwordEncryptor.checkPassword is throwing me false.
Here is what am trying to do-:



while this works in simple Java program. The below gives me correct Login.


Please inform...
Pranav Bhatt
Ranch Hand

Joined: Mar 20, 2006
Posts: 283
thanks i have resolved it It was a silly mistake
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem with registration and login using JASYPT
 
Similar Threads
encrypt password with jasypt and struts
if i store a password data from jsp to the database how to hide it from others seeing
why Internet Explorer is different than other browsers in jsp?
Issue in using the DatabaseServerLoginModule for encrypting the password using MD5
Password Encryption