Refactor nearly the whole scm-hg-plugin for new hook implementation

This commit is contained in:
Sebastian Sdorra
2020-11-07 15:52:22 +01:00
parent 23317662f2
commit d518af4ccc
53 changed files with 1230 additions and 2875 deletions

View File

@@ -114,14 +114,14 @@ public class ScmSecurityModule extends ShiroWebModule
}
// bind constant
bindConstant().annotatedWith(Names.named("shiro.loginUrl")).to(
"/index.html");
bindConstant().annotatedWith(Names.named("shiro.loginUrl")).to("/index.html");
// disable access to mustache resources
addFilterChain("/**.mustache", filterConfig(ROLES, "nobody"));
// disable session
addFilterChain("/**", NO_SESSION_CREATION);
bindConstant().annotatedWith(Names.named("shiro.sessionStorageEnabled")).to(false);
}
/**