| Line 48... |
Line 48... |
| 48 |
registry.addResourceHandler(RESOURCES_PATTERN).addResourceLocations(RESOURCES_LOCATION);
|
48 |
registry.addResourceHandler(RESOURCES_PATTERN).addResourceLocations(RESOURCES_LOCATION);
|
| 49 |
}
|
49 |
}
|
| 50 |
|
50 |
|
| 51 |
@Override
|
51 |
@Override
|
| 52 |
public void addInterceptors(InterceptorRegistry registry) {
|
52 |
public void addInterceptors(InterceptorRegistry registry) {
|
| - |
|
53 |
//registry.addInterceptor()
|
| - |
|
54 |
registry.addInterceptor(authenticationInterceptor).addPathPatterns("/**").excludePathPatterns(
|
| - |
|
55 |
"/hdfctest/**", "/hdfc/**",
|
| 53 |
registry.addInterceptor(authenticationInterceptor).addPathPatterns("/**").excludePathPatterns("/login", "/login/","/forgetPassword","/forgetPassword/", "/", "/checkplans", "/12dashboard34");
|
56 |
"/login", "/login/","/forgetPassword","/forgetPassword/", "/", "/checkplans", "/12dashboard34"
|
| - |
|
57 |
);
|
| - |
|
58 |
registry.addInterceptor(roleInterceptor).excludePathPatterns(
|
| - |
|
59 |
"/hdfctest/**", "/hdfc/**",
|
| 54 |
registry.addInterceptor(roleInterceptor).excludePathPatterns("/login", "/login/", "/register", "/register/","/forgetPassword","/forgetPassword/", "/","", "/12dashboard34");
|
60 |
"/login", "/login/", "/register", "/register/","/forgetPassword","/forgetPassword/", "/","", "/12dashboard34");
|
| 55 |
}
|
61 |
}
|
| 56 |
|
62 |
|
| 57 |
@Override
|
63 |
@Override
|
| 58 |
public void addFormatters(FormatterRegistry registry) {
|
64 |
public void addFormatters(FormatterRegistry registry) {
|
| 59 |
DateTimeFormatterRegistrar registrar = new DateTimeFormatterRegistrar();
|
65 |
DateTimeFormatterRegistrar registrar = new DateTimeFormatterRegistrar();
|