GlassFish 3 custom Realm password-column?

So normally you would have to store hashed passwords in your database (Glassfish 3.1 JDBCRealm uses SHA-256 by default, prior versions use MD-5, other Realm types may have even different default hash algorithms).

So normally you would have to store hashed passwords in your database (Glassfish 3.1 JDBCRealm uses SHA-256 by default, prior versions use MD-5, other Realm types may have even different default hash algorithms). The case that it works for an empty password may be that the server handles users with empty passwords as "anonymous" who can login without a password or with any password. Then your configuration would be a serious threat.

You were right, I wasn't hashing my passwords in my DB. It works perfectly now. Thank you so much Matt.

– csueskun Nov 9 at 15:59 You are welcome! – Matt Handy Nov 9 at 19:01.

And what do you store i.e. For 1234 -> 03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4 Is this correct? Do you have also set the encoding, or leave the default?

Thanks Adem.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions