Commit e0150337 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Store settings in session to be used in future testing pages. JM-870

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@5734 b35dd754-fafc-0310-a699-88a17e54d16e
parent d39fe86f
......@@ -89,6 +89,13 @@
JiveGlobals.setXMLProperty("provider.auth.className",
"org.jivesoftware.wildfire.ldap.LdapAuthProvider");
// Save information in the session so we can use it in testing pages during setup
Map<String, String> settings = new HashMap<String, String>();
settings.put("ldap.usernameField", usernameField);
settings.put("ldap.searchFields", searchFields);
settings.put("ldap.searchFilter", searchFilter);
session.setAttribute("ldapUserSettings", settings);
// Redirect
response.sendRedirect("setup-ldap-group.jsp?serverType=" + serverType);
return;
......
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