| Line 95... |
Line 95... |
| 95 |
ProfitMandiConstants.URL_SHOPIFY, "/user/token/unregistered");
|
95 |
ProfitMandiConstants.URL_SHOPIFY, "/user/token/unregistered");
|
| 96 |
|
96 |
|
| 97 |
registry.addInterceptor(authenticationInterceptor).addPathPatterns("/**")
|
97 |
registry.addInterceptor(authenticationInterceptor).addPathPatterns("/**")
|
| 98 |
.excludePathPatterns("/user/token/unregistered")
|
98 |
.excludePathPatterns("/user/token/unregistered")
|
| 99 |
.excludePathPatterns(ProfitMandiConstants.URL_ADMIN_TOKEN).excludePathPatterns("/**/swagger*/**")
|
99 |
.excludePathPatterns(ProfitMandiConstants.URL_ADMIN_TOKEN).excludePathPatterns("/**/swagger*/**")
|
| 100 |
.excludePathPatterns("/v2/**").excludePathPatterns("/document")
|
100 |
.excludePathPatterns("/document")
|
| 101 |
.excludePathPatterns(ProfitMandiConstants.HOOK_URL_CALLER_ID)
|
101 |
.excludePathPatterns(ProfitMandiConstants.HOOK_URL_CALLER_ID)
|
| 102 |
.excludePathPatterns(ProfitMandiConstants.URL_SHOPIFY)
|
102 |
.excludePathPatterns(ProfitMandiConstants.URL_SHOPIFY)
|
| 103 |
.excludePathPatterns("/store/generateInvoice")
|
103 |
.excludePathPatterns("/store/generateInvoice")
|
| 104 |
.excludePathPatterns(ProfitMandiConstants.URL_USER_GOOGLE_LOGIN,
|
104 |
.excludePathPatterns(ProfitMandiConstants.URL_USER_GOOGLE_LOGIN,
|
| 105 |
ProfitMandiConstants.URL_USER_GOOGLE_LOGIN + "/", ProfitMandiConstants.URL_VERIFY_OTP)
|
105 |
ProfitMandiConstants.URL_USER_GOOGLE_LOGIN + "/", ProfitMandiConstants.URL_VERIFY_OTP)
|
| 106 |
.excludePathPatterns("/store/token").excludePathPatterns("/gc/**").excludePathPatterns("/stores/**");
|
106 |
.excludePathPatterns("/store/token").excludePathPatterns("/gc/**").excludePathPatterns("/stores/**")
|
| - |
|
107 |
.excludePathPatterns("/v2/api-docs/**");
|
| 107 |
|
108 |
|
| 108 |
// registry to check api access on basis of UserInfo
|
109 |
// registry to check api access on basis of UserInfo
|
| 109 |
}
|
110 |
}
|
| 110 |
|
111 |
|
| 111 |
@Override
|
112 |
@Override
|