Commit f9b3b3e5 authored by Daryl Herzmann's avatar Daryl Herzmann Committed by akrherz

tertiaryClass was never loaded due to typo, refs OF-539


git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@13043 b35dd754-fafc-0310-a699-88a17e54d16e
parent 1f5e0458
...@@ -89,11 +89,11 @@ public class HybridUserProvider implements UserProvider { ...@@ -89,11 +89,11 @@ public class HybridUserProvider implements UserProvider {
} }
} }
String tertiaryClass = JiveGlobals.getXMLProperty("hybridUserProvider.tertiaryProvider.className"); String tertiaryClass = JiveGlobals.getXMLProperty("hybridUserProvider.tertiaryProvider.className");
if (secondaryClass != null) { if (tertiaryClass != null) {
try { try {
Class c = ClassUtils.forName(secondaryClass); Class c = ClassUtils.forName(tertiaryClass);
tertiaryProvider = (UserProvider) c.newInstance(); tertiaryProvider = (UserProvider) c.newInstance();
Log.debug("Secondary user provider: " + secondaryClass); Log.debug("Tertiary user provider: " + tertiaryClass);
} catch (Exception e) { } catch (Exception e) {
Log.error("Unable to load tertiary user provider: " + tertiaryClass, e); Log.error("Unable to load tertiary user provider: " + tertiaryClass, e);
} }
......
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