| Line 77... |
Line 77... |
| 77 |
}
|
77 |
}
|
| 78 |
|
78 |
|
| 79 |
@Override
|
79 |
@Override
|
| 80 |
public void addInterceptors(InterceptorRegistry registry) {
|
80 |
public void addInterceptors(InterceptorRegistry registry) {
|
| 81 |
registry.addInterceptor(postInterceptor).addPathPatterns("/**").excludePathPatterns("/swagger-ui.html",
|
81 |
registry.addInterceptor(postInterceptor).addPathPatterns("/**").excludePathPatterns("/swagger-ui.html",
|
| 82 |
ProfitMandiConstants.URL_PAYU_PAY_RESPONSE, ProfitMandiConstants.URL_PAYU_PAY_CANCELLED,
|
- |
|
| 83 |
ProfitMandiConstants.URL_CCAVENUE_PAY_RESPONSE, ProfitMandiConstants.URL_CCAVENUE_PAY_CANCELLED,
|
82 |
ProfitMandiConstants.URL_CCAVENUE_PAY_RESPONSE, ProfitMandiConstants.URL_CCAVENUE_PAY_CANCELLED,
|
| 84 |
ProfitMandiConstants.URL_PINELABS_PAY_RESPONSE, ProfitMandiConstants.URL_LOAN_CCAVENUE_PAY_CANCELLED,
|
83 |
ProfitMandiConstants.URL_PINELABS_PAY_RESPONSE, ProfitMandiConstants.URL_LOAN_CCAVENUE_PAY_CANCELLED,
|
| 85 |
ProfitMandiConstants.URL_LOAN_CCAVENUE_PAY_RESPONSE,
|
84 |
ProfitMandiConstants.URL_LOAN_CCAVENUE_PAY_RESPONSE,
|
| 86 |
ProfitMandiConstants.URL_POST_OFFICE,
|
85 |
ProfitMandiConstants.URL_POST_OFFICE,
|
| 87 |
ProfitMandiConstants.HOOK_URL_CALLER_ID,
|
- |
|
| 88 |
ProfitMandiConstants.URL_NEW_LEAD,
|
86 |
ProfitMandiConstants.URL_NEW_LEAD,
|
| 89 |
"/external/**");
|
87 |
"/external/**");
|
| 90 |
|
88 |
|
| 91 |
registry.addInterceptor(simpleCORSInterceptor).addPathPatterns("/**").excludePathPatterns("/swagger-ui.html","/clickToCall/**",
|
89 |
registry.addInterceptor(simpleCORSInterceptor).addPathPatterns("/**").excludePathPatterns("/swagger-ui.html","/clickToCall/**",
|
| 92 |
ProfitMandiConstants.URL_PAYU_PAY_RESPONSE, ProfitMandiConstants.URL_PAYU_PAY_CANCELLED,
|
- |
|
| 93 |
ProfitMandiConstants.URL_CCAVENUE_PAY_RESPONSE, ProfitMandiConstants.URL_CCAVENUE_PAY_CANCELLED,
|
90 |
ProfitMandiConstants.URL_CCAVENUE_PAY_RESPONSE, ProfitMandiConstants.URL_CCAVENUE_PAY_CANCELLED,
|
| 94 |
ProfitMandiConstants.URL_PINELABS_PAY_RESPONSE, ProfitMandiConstants.URL_LOAN_CCAVENUE_PAY_CANCELLED,
|
91 |
ProfitMandiConstants.URL_PINELABS_PAY_RESPONSE, ProfitMandiConstants.URL_LOAN_CCAVENUE_PAY_CANCELLED,
|
| 95 |
ProfitMandiConstants.URL_LOAN_CCAVENUE_PAY_RESPONSE,
|
92 |
ProfitMandiConstants.URL_LOAN_CCAVENUE_PAY_RESPONSE,
|
| 96 |
ProfitMandiConstants.URL_POST_OFFICE,
|
93 |
ProfitMandiConstants.URL_POST_OFFICE,
|
| 97 |
ProfitMandiConstants.HOOK_URL_CALLER_ID,
|
- |
|
| 98 |
ProfitMandiConstants.URL_NEW_LEAD,
|
94 |
ProfitMandiConstants.URL_NEW_LEAD,
|
| 99 |
ProfitMandiConstants.URL_SHOPIFY, "/user/token/unregistered",
|
95 |
ProfitMandiConstants.URL_SHOPIFY, "/user/token/unregistered",
|
| 100 |
"/external/**");
|
96 |
"/external/**");
|
| 101 |
|
97 |
|
| 102 |
registry.addInterceptor(authenticationInterceptor).addPathPatterns("/**")
|
98 |
registry.addInterceptor(authenticationInterceptor).addPathPatterns("/**")
|
| 103 |
.excludePathPatterns("/user/token/unregistered")
|
99 |
.excludePathPatterns("/user/token/unregistered")
|
| 104 |
.excludePathPatterns(ProfitMandiConstants.URL_ADMIN_TOKEN).excludePathPatterns("/**/swagger*/**")
|
100 |
.excludePathPatterns(ProfitMandiConstants.URL_ADMIN_TOKEN).excludePathPatterns("/**/swagger*/**")
|
| 105 |
.excludePathPatterns("/document")
|
101 |
.excludePathPatterns("/document")
|
| 106 |
.excludePathPatterns(ProfitMandiConstants.HOOK_URL_CALLER_ID)
|
- |
|
| 107 |
.excludePathPatterns(ProfitMandiConstants.URL_SHOPIFY)
|
102 |
.excludePathPatterns(ProfitMandiConstants.URL_SHOPIFY)
|
| 108 |
.excludePathPatterns("/store/generateInvoice")
|
103 |
.excludePathPatterns("/store/generateInvoice")
|
| 109 |
.excludePathPatterns(ProfitMandiConstants.URL_USER_GOOGLE_LOGIN,
|
104 |
.excludePathPatterns(ProfitMandiConstants.URL_USER_GOOGLE_LOGIN,
|
| 110 |
ProfitMandiConstants.URL_USER_GOOGLE_LOGIN + "/", ProfitMandiConstants.URL_VERIFY_OTP)
|
105 |
ProfitMandiConstants.URL_USER_GOOGLE_LOGIN + "/", ProfitMandiConstants.URL_VERIFY_OTP)
|
| 111 |
.excludePathPatterns("/store/token").excludePathPatterns("/gc/**").excludePathPatterns("/stores/**")
|
106 |
.excludePathPatterns("/store/token").excludePathPatterns("/gc/**").excludePathPatterns("/stores/**")
|