Subversion Repositories SmartDukaan

Rev

Rev 28588 | Rev 33766 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 28588 Rev 32704
Line 73... Line 73...
73
	public void addInterceptors(InterceptorRegistry registry) {
73
	public void addInterceptors(InterceptorRegistry registry) {
74
		registry.addInterceptor(simpleCORSInterceptor).addPathPatterns("/**").excludePathPatterns("/swagger-ui.html",
74
		registry.addInterceptor(simpleCORSInterceptor).addPathPatterns("/**").excludePathPatterns("/swagger-ui.html",
75
				ProfitMandiConstants.URL_PAYU_PAY_RESPONSE, ProfitMandiConstants.URL_PAYU_PAY_CANCELLED,
75
				ProfitMandiConstants.URL_PAYU_PAY_RESPONSE, ProfitMandiConstants.URL_PAYU_PAY_CANCELLED,
76
				ProfitMandiConstants.URL_CCAVENUE_PAY_RESPONSE, ProfitMandiConstants.URL_CCAVENUE_PAY_CANCELLED,
76
				ProfitMandiConstants.URL_CCAVENUE_PAY_RESPONSE, ProfitMandiConstants.URL_CCAVENUE_PAY_CANCELLED,
77
				ProfitMandiConstants.URL_PINELABS_PAY_RESPONSE, ProfitMandiConstants.URL_LOAN_CCAVENUE_PAY_CANCELLED,
77
				ProfitMandiConstants.URL_PINELABS_PAY_RESPONSE, ProfitMandiConstants.URL_LOAN_CCAVENUE_PAY_CANCELLED,
78
				ProfitMandiConstants.URL_LOAN_CCAVENUE_PAY_RESPONSE, ProfitMandiConstants.URL_POST_OFFICE,
78
				ProfitMandiConstants.URL_LOAN_CCAVENUE_PAY_RESPONSE,
-
 
79
				ProfitMandiConstants.URL_POST_OFFICE,
-
 
80
				ProfitMandiConstants.HOOK_URL_CALLER_ID,
79
				ProfitMandiConstants.URL_NEW_LEAD);
81
				ProfitMandiConstants.URL_NEW_LEAD);
80
 
82
 
81
		registry.addInterceptor(authenticationInterceptor).addPathPatterns("/**")
83
		registry.addInterceptor(authenticationInterceptor).addPathPatterns("/**")
82
				.excludePathPatterns(ProfitMandiConstants.URL_ADMIN_TOKEN).excludePathPatterns("/**/swagger*/**")
84
				.excludePathPatterns(ProfitMandiConstants.URL_ADMIN_TOKEN).excludePathPatterns("/**/swagger*/**")
83
				.excludePathPatterns("/v2/**").excludePathPatterns("/document")
85
				.excludePathPatterns("/v2/**").excludePathPatterns("/document")
-
 
86
				.excludePathPatterns(ProfitMandiConstants.HOOK_URL_CALLER_ID)
84
				.excludePathPatterns("/store/generateInvoice")
87
				.excludePathPatterns("/store/generateInvoice")
85
				.excludePathPatterns(ProfitMandiConstants.URL_USER_GOOGLE_LOGIN,
88
				.excludePathPatterns(ProfitMandiConstants.URL_USER_GOOGLE_LOGIN,
86
						ProfitMandiConstants.URL_USER_GOOGLE_LOGIN + "/", ProfitMandiConstants.URL_VERIFY_OTP)
89
						ProfitMandiConstants.URL_USER_GOOGLE_LOGIN + "/", ProfitMandiConstants.URL_VERIFY_OTP)
87
				.excludePathPatterns("/store/token").excludePathPatterns("/gc/**").excludePathPatterns("/stores/**");
90
				.excludePathPatterns("/store/token").excludePathPatterns("/gc/**").excludePathPatterns("/stores/**");
88
 
91