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 ?
I didn’t try your solution yet. I will right now to test, but I was wondering : all the classes in lib directory are loaded ? before the plugin classes ?
If it works, it could answer my problem, but it would be easier (for deploying and installation) to use the plugin mecanism.
I didn’t try your solution yet. I will right now to test, but I was wondering : all the classes in lib directory are loaded ? before the plugin classes ?
Hi Marc,
I wanted to jump in here real quick and point you to this thread which explains why plugins can’t be used to handle authentication.