mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-02-06 22:59:12 +01:00
simplify scm-manager bootstrap
We have simplified the scm-manager bootstrap process, by replacing the ServletContextListener call hierarchy with much simpler ModuleProviders. We have also removed the parent injector. Now we create always a new injector. If something goes wrong in the process of injector creation, we will show a nicely styled error page instead of stacktrace on a white page.
This commit is contained in:
@@ -81,8 +81,7 @@ public class ScmSecurityModule extends ShiroWebModule
|
||||
* @param servletContext
|
||||
* @param extensionProcessor
|
||||
*/
|
||||
ScmSecurityModule(ServletContext servletContext,
|
||||
ExtensionProcessor extensionProcessor)
|
||||
public ScmSecurityModule(ServletContext servletContext, ExtensionProcessor extensionProcessor)
|
||||
{
|
||||
super(servletContext);
|
||||
this.extensionProcessor = extensionProcessor;
|
||||
|
||||
Reference in New Issue
Block a user