Commit 407fccba authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Added option to explicitly specify the FQDN of the server. JM-291

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@6954 b35dd754-fafc-0310-a699-88a17e54d16e
parent 748a9a53
...@@ -249,7 +249,7 @@ public class SASLAuthentication { ...@@ -249,7 +249,7 @@ public class SASLAuthentication {
props.put(Sasl.SERVER_AUTH, "TRUE"); props.put(Sasl.SERVER_AUTH, "TRUE");
} }
SaslServer ss = Sasl.createSaslServer(mechanism, "xmpp", SaslServer ss = Sasl.createSaslServer(mechanism, "xmpp",
session.getServerName(), props, JiveGlobals.getProperty("xmpp.fqdn", session.getServerName()), props,
new XMPPCallbackHandler()); new XMPPCallbackHandler());
// evaluateResponse doesn't like null parameter // evaluateResponse doesn't like null parameter
byte[] token = new byte[0]; byte[] token = new byte[0];
......
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