This content has been marked as final.
Show 3 replies
-
1. Re: authenticator action..password hashing
tptackab Jul 7, 2007 5:50 PM (in response to dheerajsega)I'm running up against the same issue. My passwords are stored SHA hashed in the database, and so I need to hash the clear text password to compare it with the hashed password fetched from the db. When I attempt to hash #{identity.username}, it simply hashes the String "#{identity.username}".
How does one get the evaluated EL value from #{identity.username} so it can be hashed before placing it into a query parameter? Is there another way to compare the hashed values?
Thanks in advance,
Tom -
2. Re: authenticator action..password hashing
tptackab Jul 7, 2007 6:48 PM (in response to dheerajsega)Got it!
String password = Identity.instance().getPassword();
;-) -
3. Re: authenticator action..password hashing
dheerajsega Jul 9, 2007 9:27 AM (in response to dheerajsega)Thanks it works..