powered by Jive Software

JDBCAuthProvider SHA-256/SHA-512 Support


I have a small private email system with users stored in a mysql database. Authentication (SMTP/IMAP) is done with courier-authlib against the imap server and rimap in saslauthd. For openfire to be able to use the passwords stored in the database (sha-512) i wrote a small patch which adds sha-256/sha512.

I want to share that with the community in case someone else needs a stronger hash. I’m no java developer but the patch works fine for me.

Patch is for version 3.6.4 of openfire.


Hi Tim,

thanks for the patch. I did create OF-401 and it will be fixed in trunk soon and likely in 3.7.0