Hi,
we want to use our own authentication with Openfire.
To do this, we implemented our own class that inherits from org.jivesoftware.openfire.auth.JDBCAuthProvider ,
and we changed the config XML file :
<provider>
<auth>
<className>org.jivesoftware.openfire.auth.OurOwnJDBCAuthProvider</className>
</auth>
...
This works well, but it requires us to compile our own version of openfire, which not the best for deployment and for maintainability.
So we thought about plugin mecanism.
Would it be possible to do this with a plugin ?
I tried to make a plugin, with only one class (OurOwnJDBCAuthProvider) , but the authentication failed (maybe the class for auth is loaded before the plugins ?).
Do you think it is possible to use a plugin for such a thing ?
Did I make something wrong ?
Thank you for your answers,
Marc.