Commit d7b6d92a authored by Derek DeMoro's avatar Derek DeMoro Committed by derek

Datasource information should be stored in messenger_home.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@97 b35dd754-fafc-0310-a699-88a17e54d16e
parent 6464fd96
......@@ -113,6 +113,16 @@
response.sendRedirect("setup-admin-settings.jsp");
return;
}
else{
Map xmppSettings = (Map)session.getAttribute("xmppSettings");
Iterator iter = xmppSettings.keySet().iterator();
while(iter.hasNext()){
String name = (String)iter.next();
String value = (String)xmppSettings.get(name);
JiveGlobals.setProperty(name, value);
}
}
}
}
......
......@@ -51,18 +51,22 @@
}
// Continue if there were no errors
if (errors.size() == 0) {
JiveGlobals.setProperty("xmpp.domain",domain);
JiveGlobals.setProperty("xmpp.chat.domain",chatDomain);
JiveGlobals.setProperty("xmpp.socket.plain.port",Integer.toString(port));
JiveGlobals.setProperty("embedded-web.port",Integer.toString(embeddedPort));
JiveGlobals.setProperty("xmpp.socket.ssl.active",""+sslEnabled);
JiveGlobals.setProperty("xmpp.socket.ssl.port",Integer.toString(sslPort));
JiveGlobals.setProperty("xmpp.auth.anonymous", "true" );
// JiveGlobals.setProperty("xmpp.socket.ssl.storeType",storeType);
// JiveGlobals.setProperty("xmpp.socket.ssl.keystore",keystore);
// JiveGlobals.setProperty("xmpp.socket.ssl.keypass",keypass);
// JiveGlobals.setProperty("xmpp.socket.ssl.truststore",truststore);
// JiveGlobals.setProperty("xmpp.socket.ssl.trustpass",trustpass);
Map xmppSettings = new HashMap();
xmppSettings.put("xmpp.domain",domain);
xmppSettings.put("xmpp.chat.domain",chatDomain);
xmppSettings.put("xmpp.socket.plain.port",Integer.toString(port));
xmppSettings.put("embedded-web.port",Integer.toString(embeddedPort));
xmppSettings.put("xmpp.socket.ssl.active",""+sslEnabled);
xmppSettings.put("xmpp.socket.ssl.port",Integer.toString(sslPort));
xmppSettings.put("xmpp.auth.anonymous", "true" );
session.setAttribute("xmppSettings", xmppSettings);
// JiveGlobals.setXMLProperty("xmpp.socket.ssl.storeType",storeType);
// JiveGlobals.setXMLProperty("xmpp.socket.ssl.keystore",keystore);
// JiveGlobals.setXMLProperty("xmpp.socket.ssl.keypass",keypass);
// JiveGlobals.setXMLProperty("xmpp.socket.ssl.truststore",truststore);
// JiveGlobals.setXMLProperty("xmpp.socket.ssl.trustpass",trustpass);
// update the sidebar status
session.setAttribute("jive.setup.sidebar.2","done");
......
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