Commit 057fc472 authored by Guus der Kinderen's avatar Guus der Kinderen

OF-1098: Anonymous user login should be disabled by default.

parent 762a8439
......@@ -43,7 +43,6 @@ INSERT INTO JIVEUSER VALUES('admin','admin',NULL,'Administrator','admin@example.
INSERT INTO JIVEID VALUES(18,1)
INSERT INTO JIVEID VALUES(19,1)
INSERT INTO JIVEID VALUES(23,1)
INSERT INTO JIVEPROPERTY VALUES('xmpp.auth.anonymous','true')
INSERT INTO JIVEPROPERTY VALUES('xmpp.domain','localhost')
INSERT INTO JIVEPROPERTY VALUES('xmpp.muc.history.type','number')
INSERT INTO JIVEPROPERTY VALUES('xmpp.session.conflict-limit','0')
......
......@@ -29,7 +29,7 @@
int embeddedPort = ParamUtils.getIntParameter(request, "embeddedPort", Integer.MIN_VALUE);
int securePort = ParamUtils.getIntParameter(request, "securePort", Integer.MIN_VALUE);
boolean sslEnabled = ParamUtils.getBooleanParameter(request, "sslEnabled", true);
boolean anonymousAuthentication = JiveGlobals.getXMLProperty("xmpp.auth.anonymous", true);
boolean anonymousAuthentication = JiveGlobals.getXMLProperty("xmpp.auth.anonymous", false);
String encryptionAlgorithm = ParamUtils.getParameter(request, "encryptionAlgorithm");
String encryptionKey = ParamUtils.getParameter(request, "encryptionKey");
......
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