posted 13 years ago
Hi
I have got an simple application made in which I am able to register users and authenticate them.
I've got the passwords encoded using and successfully able to authenticate them. I am using Spring 3, Spring Security 3 and Hibernate 3 in my application.
Now I want to salt their passwords with the ID of the user but I am not able to achieve this functionality.
Could someone help me achieve it? I've been trying to do it for quite some time but ain't able to get it done.
Here is the code I've got for salting users with their ID and authenticating them.
xyz-security.xml
UserDetailsAdapter.java
UserDetailsServiceImpl
UserServiceImpl
Could someone help me understand what am I missing here?
Many thanks.