title: Encrypt password in add user form - Spring security
body: <p>I've used Spring Security to avoid non user access my app. I have to roles and passwords for this kind of users are encoded using SHA. All is working nice and I'm using the login form actively but I need a form to create users. My problem is that what I write in the password field is interpreted as an SHA encoded password so when I try to sign in with the new user, I can't. How can I solve this? Is there a way to force Spring to encrypt the password that I write in the password field?</p>