I am trying generate a password manually to insert it directly into the database. But unfortunatelly I doesn´t work.
Spring security core is set to use MD5 encoding. I generate a new password in a md5 hash generation webpage, update the bbdd but I can not log in with that user.
I guess it has some specific structure before enconding but I don´t know it.
Just have a look in the source code of the basespasswordencoder class.
http://grepcode.com/file/repo1.maven.org/maven2/org.springframework.security/spring-security-core/3.0.1.RELEASE/org/springframework/security/authentication/encoding/BasePasswordEncoder.java#BasePasswordEncoder.mergePasswordAndSalt%28java.lang.String%2Cjava.lang.Object%2Cboolean%29