• Post Reply Bookmark Topic Watch Topic
  • New Topic

problem with registration and login using JASYPT

 
Pranav Bhatt
Ranch Hand
Posts: 284
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 284
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks i have resolved it It was a silly mistake
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!