I am storing password in encrypted form in DB. Login in my application is handled by Spring Security (JDBCDaoImpl). So I don't know where and How can I do the password encryption. By extending the JDBCDaoImpl? or some other way.
From where Spring Security gets the password that user has entered. Regarding the username it is available in loadUserByUsername method but what about the password?
One more doubt is, I can't understand where does Spring Security validate the user. I looked into JDBCDaoImpl class but couldn't find where it verifies for password.
Anybody have any idea?
CrossPost