This commit is contained in:
xiangwb
2018-03-31 14:02:26 +08:00
parent 5571397c05
commit 4db82c6d2e
2 changed files with 10 additions and 5 deletions
@@ -37,7 +37,6 @@ public class ShiroConfig {
shiroFilterFactoryBean.setSecurityManager(securityManager());
//如果不设置默认会自动寻找Web工程根目录下的"/login.jsp"页面
shiroFilterFactoryBean.setLoginUrl("/login.html");
shiroFilterFactoryBean.setSuccessUrl("/doc");
Map<String, String> chains = new LinkedHashMap<>();
//静态资源
chains.put("/META-INF/resources/**", "anon");