| Line 66... |
Line 66... |
| 66 |
@Override
|
66 |
@Override
|
| 67 |
public void addInterceptors(InterceptorRegistry registry) {
|
67 |
public void addInterceptors(InterceptorRegistry registry) {
|
| 68 |
registry.addInterceptor(simpleCORSInterceptor).addPathPatterns("/**").excludePathPatterns("/swagger-ui.html",
|
68 |
registry.addInterceptor(simpleCORSInterceptor).addPathPatterns("/**").excludePathPatterns("/swagger-ui.html",
|
| 69 |
ProfitMandiConstants.URL_PAYU_PAY_RESPONSE, ProfitMandiConstants.URL_PAYU_PAY_CANCELLED,
|
69 |
ProfitMandiConstants.URL_PAYU_PAY_RESPONSE, ProfitMandiConstants.URL_PAYU_PAY_CANCELLED,
|
| 70 |
ProfitMandiConstants.URL_CCAVENUE_PAY_RESPONSE, ProfitMandiConstants.URL_CCAVENUE_PAY_CANCELLED,
|
70 |
ProfitMandiConstants.URL_CCAVENUE_PAY_RESPONSE, ProfitMandiConstants.URL_CCAVENUE_PAY_CANCELLED,
|
| - |
|
71 |
ProfitMandiConstants.URL_LOAN_CCAVENUE_PAY_CANCELLED, ProfitMandiConstants.URL_LOAN_CCAVENUE_PAY_RESPONSE,
|
| 71 |
ProfitMandiConstants.URL_POST_OFFICE, ProfitMandiConstants.URL_NEW_LEAD);
|
72 |
ProfitMandiConstants.URL_POST_OFFICE, ProfitMandiConstants.URL_NEW_LEAD);
|
| 72 |
|
73 |
|
| 73 |
registry.addInterceptor(authenticationInterceptor).addPathPatterns("/**")
|
74 |
registry.addInterceptor(authenticationInterceptor).addPathPatterns("/**")
|
| 74 |
.excludePathPatterns(ProfitMandiConstants.URL_ADMIN_TOKEN).excludePathPatterns("/**/swagger*/**")
|
75 |
.excludePathPatterns(ProfitMandiConstants.URL_ADMIN_TOKEN).excludePathPatterns("/**/swagger*/**")
|
| 75 |
.excludePathPatterns("/v2/**").excludePathPatterns("/document")
|
76 |
.excludePathPatterns("/v2/**").excludePathPatterns("/document")
|