|
|
@@ -27,7 +27,9 @@ public class WebAppConfig extends WebMvcConfigurationSupport{
|
|
|
}
|
|
|
|
|
|
public void addInterceptors(InterceptorRegistry registry){
|
|
|
- registry.addInterceptor(loginInterceptor()).addPathPatterns("/**").excludePathPatterns("/EIS/login");
|
|
|
+ registry.addInterceptor(loginInterceptor()).addPathPatterns("/**")
|
|
|
+ .excludePathPatterns("/EIS/login")
|
|
|
+ .excludePathPatterns("/test/*");
|
|
|
registry.addInterceptor(new DataSourceInterceptor()).addPathPatterns("/*/**");
|
|
|
}
|
|
|
|