优化 user 认证 starter,支持忽略部分 url

This commit is contained in:
YunaiV
2020-08-01 20:19:49 +08:00
parent da826a21c9
commit c6c838d759
6 changed files with 374 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ public class AdminSecurityProperties {
private static final String[] DEFAULT_IGNORE_PATHS = new String[]{
// Swagger 相关
"/doc.html", "/swagger-resources", "/swagger-resources/**",
"/doc.html", "/swagger-resources", "/swagger-resources/**", "/webjars/**",
// Actuator 相关
};