mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-02-03 13:19:10 +01:00
Refactor nearly the whole scm-hg-plugin for new hook implementation
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user