1 package org.jivesoftware.messenger.plugin; 2 3 import org.jivesoftware.messenger.container.Plugin; 4 import org.jivesoftware.messenger.container.PluginManager; 5 import org.jivesoftware.messenger.user.UserManager; 6 import org.jivesoftware.messenger.auth.AuthFactory; 7 import org.jivesoftware.util.JiveGlobals; 8 9 import java.io.File ; 10 11 16 public class ForumsPlugin implements Plugin { 17 18 public void initializePlugin(PluginManager manager, File pluginDirectory) { 19 JiveGlobals.setXMLProperty("provider.user.className", ForumsUserProvider.class.getName()); 20 JiveGlobals.setXMLProperty("provider.auth.className", ForumsUserProvider.class.getName()); 21 } 22 23 public void destroyPlugin() { 24 } 25 } 26 | Popular Tags |