单点登录-待调试

This commit is contained in:
liyawei
2022-03-18 18:31:18 +08:00
parent d6c3dc4a29
commit 58dff6ffed
4 changed files with 265 additions and 0 deletions
@@ -134,6 +134,8 @@ public class ShiroConfig {
//性能监控 TODO 存在安全漏洞泄露TOEKN(durid连接池也有)
filterChainDefinitionMap.put("/actuator/**", "anon");
filterChainDefinitionMap.put("/opensso/**", "anon"); //单点登录
// 添加自己的过滤器并且取名为jwt
Map<String, Filter> filterMap = new HashMap<String, Filter>(1);
//如果cloudServer为空 则说明是单体 需要加载跨域配置