Open venusdrogon opened 6 years ago
//白名单检查
if (Validator.isNotNullOrEmpty(whiteList)){
for (AntPathRequestMatcher matcher : whiteList){
if (matcher.matches(request)){
filterChain.doFilter(request, response);
return;
}
}
}
ConfigurableConditionOncePerRequestFilter 支持白名单 url地址配置