Hello!
First, I tried to search any existent custom implementation of user provider, but I couldn’t find anything that makes my code works properly on Openfire 4.2.3. Sorry if it exists somewhere I don’t know.
I coded a class to fetch user information from a CMS called TikiWiki, but OpenFire simply don’t load it. I tried to include the plugin JAR on OpenFire classpath but no success.
If I didn’t understand wrong, OpenFire load UserProvider classes before loading plugins, and because that my class never loads. Is there any other way to make UserProvider from plugin load properly??
The Openfire version I’m running is 4.2.3 and the properties on Openfire panel are
provider.user.className org.jivesoftware.openfire.user.HybridUserProvider
hybridUserProvider.primaryProvider.className org.tiki.tikitoken.TikiTokenUserProvider
hybridUserProvider.secondaryProvider.className org.jivesoftware.openfire.user.DefaultUserProvider
The class I want to load is https://github.com/fabiomontefuscolo/openfire-tikitoken/blob/tikiuserprovider/src/java/org/tiki/tikitoken/TikiTokenUserProvider.java
Can anyone give a clue on this??
Thanks in advance
Fabio Montefuscolo