新增内部系统访问过滤器,可设置多个允许的内部系统IP地址串,多个用逗号隔开

This commit is contained in:
thinkgem
2018-11-17 21:42:52 +08:00
parent 95dbae82a8
commit 711985fbe9
4 changed files with 64 additions and 2 deletions

View File

@@ -323,6 +323,9 @@ shiro:
# 是否在登录后生成新的Session默认false
isGenerateNewSessionAfterLogin: false
# 内部系统访问过滤器可设置多个允许的内部系统IP地址串多个用逗号隔开
innerFilter.allowIp: 127.0.0.1
# URI 权限过滤器定义
# filterChainDefinitions: |
# /ReportServer/** = user
@@ -442,7 +445,7 @@ web:
id: '[a-zA-Z0-9_\-/#\u4e00-\u9fa5]{0,64}'
user.loginCode: '[a-zA-Z0-9_\u4e00-\u9fa5]{4,20}'
# 关闭核心模块的Web功能仅作为微服务时设为false
# 核心模块的Web功能仅作为微服务时设为false
core:
enabled: true