|
|
@ -177,13 +177,13 @@ public class ShiroConfig { |
|
|
|
// 企业微信证书排除
|
|
|
|
// 企业微信证书排除
|
|
|
|
filterChainDefinitionMap.put("/WW_verify*", "anon"); |
|
|
|
filterChainDefinitionMap.put("/WW_verify*", "anon"); |
|
|
|
|
|
|
|
|
|
|
|
// 通过注解免登录url
|
|
|
|
// // 通过注解免登录url
|
|
|
|
List<String> ignoreAuthUrlList = collectIgnoreAuthUrl(ctx); |
|
|
|
// List<String> ignoreAuthUrlList = collectIgnoreAuthUrl(ctx);
|
|
|
|
if (!CollectionUtils.isEmpty(ignoreAuthUrlList)) { |
|
|
|
// if (!CollectionUtils.isEmpty(ignoreAuthUrlList)) {
|
|
|
|
for (String url : ignoreAuthUrlList) { |
|
|
|
// for (String url : ignoreAuthUrlList) {
|
|
|
|
filterChainDefinitionMap.put(url, "anon"); |
|
|
|
// filterChainDefinitionMap.put(url, "anon");
|
|
|
|
} |
|
|
|
// }
|
|
|
|
} |
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
// 添加自己的过滤器并且取名为jwt
|
|
|
|
// 添加自己的过滤器并且取名为jwt
|
|
|
|
Map<String, Filter> filterMap = new HashMap<String, Filter>(1); |
|
|
|
Map<String, Filter> filterMap = new HashMap<String, Filter>(1); |
|
|
|