Commit 2449b73d authored by opencadc-admin's avatar opencadc-admin Committed by GitHub
Browse files

Merge pull request #2 from andamian/s1965

S1965
parents 0a5a738e dbdecc3b
...@@ -163,7 +163,7 @@ public class UserServlet extends HttpServlet ...@@ -163,7 +163,7 @@ public class UserServlet extends HttpServlet
log.warn("No Privileged users configured."); log.warn("No Privileged users configured.");
} }
PluginFactory pluginFactory = new PluginFactory(); PluginFactory pluginFactory = getPluginFactory();
userPersistence = pluginFactory.createUserPersistence(); userPersistence = pluginFactory.createUserPersistence();
} }
catch (Throwable t) catch (Throwable t)
...@@ -179,6 +179,11 @@ public class UserServlet extends HttpServlet ...@@ -179,6 +179,11 @@ public class UserServlet extends HttpServlet
userPersistence.destroy(); userPersistence.destroy();
} }
protected PluginFactory getPluginFactory()
{
return new PluginFactory();
}
/** /**
* Create a UserAction and run the action safely. * Create a UserAction and run the action safely.
*/ */
......
Supports Markdown
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