Commit 3329cd32 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Added new binding and session establishment modules. JM-7 JM-388

git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@2773 b35dd754-fafc-0310-a699-88a17e54d16e
parent c44ec4c8
......@@ -211,7 +211,7 @@ public class XMPPServer {
name = "127.0.0.1";
}
version = new Version(2, 2, 1, Version.ReleaseStatus.Release, -1);
version = new Version(2, 3, 0, Version.ReleaseStatus.Alpha, 1);
if ("true".equals(JiveGlobals.getXMLProperty("setup"))) {
setupMode = false;
}
......@@ -321,6 +321,8 @@ public class XMPPServer {
loadModule(OfflineMessageStrategy.class.getName());
loadModule(OfflineMessageStore.class.getName());
// Load standard modules
loadModule(IQBindHandler.class.getName());
loadModule(IQSessionEstablishmentHandler.class.getName());
loadModule(IQAuthHandler.class.getName());
loadModule(IQPrivateHandler.class.getName());
loadModule(IQRegisterHandler.class.getName());
......@@ -781,6 +783,17 @@ public class XMPPServer {
return (IQRegisterHandler)modules.get(IQRegisterHandler.class);
}
/**
* Returns the <code>IQAuthHandler</code> registered with this server. The
* <code>IQAuthHandler</code> was registered with the server as a module while starting up
* the server.
*
* @return the <code>IQAuthHandler</code> registered with this server.
*/
public IQAuthHandler getIQAuthHandler() {
return (IQAuthHandler)modules.get(IQAuthHandler.class);
}
/**
* Returns the <code>PluginManager</code> instance registered with this server.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment