4
13693261870
2022-09-16 15d10b06cda4819c40ebb77cdc7e9abf348c0979
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package myUtils;
 
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
 
@Configuration
public class CasLoginConfig extends WebMvcConfigurerAdapter {
    
    @Override
     public void addInterceptors(InterceptorRegistry registry){
//         registry.addInterceptor(new CasIntercepter()).addPathPatterns("/cas/login/*");
     }
 
}