add: 增加图片访问匿名处理

This commit is contained in:
wuy 2020-06-30 00:29:20 +08:00
parent 686eb74ac6
commit 691504139f
1 changed files with 1 additions and 0 deletions

View File

@ -126,6 +126,7 @@ public class IamBaseAutoConfig {
filterChainDefinitionMap.put("/diboot/**", "anon"); filterChainDefinitionMap.put("/diboot/**", "anon");
filterChainDefinitionMap.put("/error/**", "anon"); filterChainDefinitionMap.put("/error/**", "anon");
filterChainDefinitionMap.put("/auth/**", "anon"); filterChainDefinitionMap.put("/auth/**", "anon");
filterChainDefinitionMap.put("/uploadFile/download/*/image", "anon");
boolean allAnon = false; boolean allAnon = false;
String anonUrls = iamBaseProperties.getAnonUrls(); String anonUrls = iamBaseProperties.getAnonUrls();