添加匿名url
This commit is contained in:
parent
7fc8fb5aa9
commit
8e0a954463
|
|
@ -52,7 +52,7 @@ public class ShiroConfig {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter Chain定义说明
|
* Filter Chain定义说明
|
||||||
*
|
* <p>
|
||||||
* 1、一个URL可以配置多个Filter,使用逗号分隔
|
* 1、一个URL可以配置多个Filter,使用逗号分隔
|
||||||
* 2、当设置多个过滤器时,全部验证通过,才视为通过
|
* 2、当设置多个过滤器时,全部验证通过,才视为通过
|
||||||
* 3、部分过滤器可指定参数,如perms,roles
|
* 3、部分过滤器可指定参数,如perms,roles
|
||||||
|
|
@ -140,6 +140,14 @@ public class ShiroConfig {
|
||||||
filterChainDefinitionMap.put("/newsWebsocket/**", "anon");//CMS模块
|
filterChainDefinitionMap.put("/newsWebsocket/**", "anon");//CMS模块
|
||||||
filterChainDefinitionMap.put("/vxeSocket/**", "anon");//JVxeTable无痕刷新示例
|
filterChainDefinitionMap.put("/vxeSocket/**", "anon");//JVxeTable无痕刷新示例
|
||||||
|
|
||||||
|
//邮件监控 排除
|
||||||
|
filterChainDefinitionMap.put("/sysEmailLog/getDashboardDailyStats", "anon");
|
||||||
|
filterChainDefinitionMap.put("/sysEmailLog/getRecentEmailDatas", "anon");
|
||||||
|
filterChainDefinitionMap.put("/sysEmail/sourceList", "anon");
|
||||||
|
//台站有效率
|
||||||
|
filterChainDefinitionMap.put("/stationOperation/getStationProvisionEff", "anon");
|
||||||
|
|
||||||
|
|
||||||
//性能监控——安全隐患泄露TOEKN(durid连接池也有)
|
//性能监控——安全隐患泄露TOEKN(durid连接池也有)
|
||||||
//filterChainDefinitionMap.put("/actuator/**", "anon");
|
//filterChainDefinitionMap.put("/actuator/**", "anon");
|
||||||
//测试模块排除
|
//测试模块排除
|
||||||
|
|
@ -183,6 +191,7 @@ public class ShiroConfig {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 下面的代码是添加注解支持
|
* 下面的代码是添加注解支持
|
||||||
|
*
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@Bean
|
@Bean
|
||||||
Loading…
Reference in New Issue
Block a user