Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

j_security_check .. how to check encrypted password ..  RSS feed

 
sarim raza
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
problem is in databse i have username and password (these are encrypted)..
in the login page, user enters the actual password and submits ... how can i first use my encrypt() method to encrypt the password to match those stored in database.. reason why i cant do that is since login page uses j_security_check (tomcats mechanism . to check for username, pasword).
<form method=post action=j_security_check>
thanks
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!