Hi,
I am using the Shiro plugin (Shiro 1.1.4) in my Grails application. I am
using the below code to save the user in my bootstrap
def user = new User(username: "User", passwordHash: new
Sha512Hash("password").toHex())
user.save()
I am able to login into the system using the above credentials.
My problem is after salting the password as below
def user = new User(username: "User", passwordHash: *new
Sha512Hash("password","User",1024)*.toHex())
user.save()
I am unable to logon and the system is showing invalid username/password
message. Please let me know how to overcome it.
--
View this message in context:
http://shiro-user.582556.n2.nabble.com/Salting-password-tp7577622.html
Sent from the Shiro User mailing list archive at Nabble.com.