Commit 7e7a1e11 authored by Matt Tucker's avatar Matt Tucker Committed by matt

Logic tweaks.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@5556 b35dd754-fafc-0310-a699-88a17e54d16e
parent 50f4401d
...@@ -59,8 +59,12 @@ ...@@ -59,8 +59,12 @@
// Save settings and redirect. // Save settings and redirect.
if (errors.isEmpty()) { if (errors.isEmpty()) {
JiveGlobals.setXMLProperty("ldap.usernameField", usernameField); JiveGlobals.setXMLProperty("ldap.usernameField", usernameField);
JiveGlobals.setXMLProperty("ldap.searchFields", searchFields); if (searchFields != null) {
JiveGlobals.setXMLProperty("ldap.searchFilter", searchFilter); JiveGlobals.setXMLProperty("ldap.searchFields", searchFields);
}
if (searchFilter != null) {
JiveGlobals.setXMLProperty("ldap.searchFilter", searchFilter);
}
// Enable the LDAP auth and user providers. The group provider will be enabled on the next step. // Enable the LDAP auth and user providers. The group provider will be enabled on the next step.
JiveGlobals.setXMLProperty("provider.user.className", JiveGlobals.setXMLProperty("provider.user.className",
......
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