I am trying to configure spring security 3 to authenticate users with my hibernate 3 database. I only store the sha1 hashes of passwords in the database (not plain text).
I looked over this and this one , which says that I am implementing my own UserDetailsService. Unfortunately, UserDetails, which loads the name loadUserByUsername, seems to require a plaintext password, which I don't have.
How is this usually handled? Can spring Security really do what I need here? Did I miss something?
source
share