AuthProvider for Openfire which will accept a shared secret, instead of a password, for a user.
-
Build the package
mvn clean package
-
Copy the jar-with-dependencies into the openfire/lib directory
cp target/openfire-shared-secret-plugin-x.x.x-with-dependencies.jar /opt/openfire/lib
-
Add/update the following openfire server properties:
hybridAuthProvider.primaryProvider.className = [current value of provider.auth.className] provider.auth.className = org.jivesoftware.openfire.auth.HybridAuthProvider hybridAuthProvider.secondaryProvider.className = com.marcelmika.openfire.auth.SharedSecretAuthProvider
-
Add any extra configuration properties as required (see Configuration below)
-
Restart openfire
/etc/init.d/openfire restart