|
|
@ -20,8 +20,8 @@ public class CustomSecurityConfig implements WebMvcConfigurer {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void addInterceptors(InterceptorRegistry registry) {
|
|
|
|
public void addInterceptors(InterceptorRegistry registry) {
|
|
|
|
registry.addInterceptor(this.jwtInterceptor)
|
|
|
|
registry.addInterceptor(this.jwtInterceptor)
|
|
|
|
.excludePathPatterns("/login")
|
|
|
|
|
|
|
|
.excludePathPatterns("/swagger-ui.html")
|
|
|
|
.excludePathPatterns("/swagger-ui.html")
|
|
|
|
|
|
|
|
.excludePathPatterns("/*")
|
|
|
|
.excludePathPatterns("/doc.html")
|
|
|
|
.excludePathPatterns("/doc.html")
|
|
|
|
.excludePathPatterns("/swagger-resources/**")
|
|
|
|
.excludePathPatterns("/swagger-resources/**")
|
|
|
|
.excludePathPatterns("/*/api-docs")
|
|
|
|
.excludePathPatterns("/*/api-docs")
|
|
|
|