Well I use DatabaseServerLoginModule and MySQL.
I run into problem where login worked fine without encrypted password and hashEncoding, but passwords did not match when using SHA/MD5.
I created program to test MessageDigest variants of those passwords.
And what I saw, was that mysql SHA result was different from MessageDigest one.
Charsets are both utf8(hashcharset and mysql default).
Any ideaS?
Grins....
Actually the problem is that Java base64encodes stuff and mysql does not.
Is there any way to insert base64 encoded passwords to database with query?
Or should i generate passwords programmatically?