Re: tapestry security with 1.1.0 of shiro --> unable to get sha512 login working.

2010-11-14 Thread cablepuff
thanks. how do i test that my configuration is working correctly? final String username = "username"; final String password = "password"; String hashedPasswordBase64 = new Sha512Hash(password).toBase64(); // ini part. Ini ini = ne

Re: tapestry security with 1.1.0 of shiro --> unable to get sha512 login working.

2010-11-13 Thread Kalle Korhonen
Whoa, a plain jdbc connection, that's old school :) You are pretty close - just as a test, you could remove the salt and see if it simply comparing the hashes works - I believe it should. Now, a couple of notes: 1) Are you sure you are storing the salt as base64 encoded? Your read expects that to

tapestry security with 1.1.0 of shiro --> unable to get sha512 login working.

2010-11-13 Thread cablepuff
So this is in my pom.xml I have 0.2.0 version of tynamo security excluding apache shiro 1.0.0.incubating and instead using 1.1.0 of apache shiro. my save user looks like this.. // begin save user RandomNumberGenerator rng = new SecureRandomNumberGenerator();