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