安全拦截器不排除Spring Boot应用程序中的资源文件夹

时间:2018-09-28 09:21:58

标签: spring-boot interceptor

我正在尝试排除资源文件夹以调用拦截器,但仍在调用拦截器的pre handle方法

registry.addInterceptor(securityInterceptor).addPathPatterns("/**")
  .excludePathPatterns(/resources/**);

0 个答案:

没有答案