I ended up getting the source code and modifying the auth class
. Coded in Java
.
I suggest extending jdbcAuthProvider
or just the defaultAuthProvider
. It is pretty straight forward.
This documentation is divided into three sections:
- Source, get the Openfire source code.
- Setup, how to setup your environment for Openfire development.
- Build tasks, tasks that can be performed using the build program.
You can then get the bCrypt for Java at mindrot.org.
if (BCrypt.checkpw(user_provided_password, hashed_password_from_db))
System.out.println("It matches");
else
System.out.println("It does not match");