Subversion Repositories SmartDukaan

Rev

Rev 35033 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 35033 Rev 36650
Line 20... Line 20...
20
		web.ignoring().antMatchers("/resources/**").antMatchers("/spicemoney/callback");
20
		web.ignoring().antMatchers("/resources/**").antMatchers("/spicemoney/callback");
21
	}
21
	}
22
 
22
 
23
	@Override
23
	@Override
24
	protected void configure(HttpSecurity http) throws Exception {
24
	protected void configure(HttpSecurity http) throws Exception {
25
		http.logout().logoutUrl("logmeout").and().cors().disable().csrf().disable().authorizeRequests()
25
		http.logout().logoutUrl("logmeout").and().cors().disable().csrf().disable()
-
 
26
				.headers().frameOptions().sameOrigin().and()
-
 
27
				.authorizeRequests()
26
				// .antMatchers("/**").hasRole("hdfc")
28
				// .antMatchers("/**").hasRole("hdfc")
27
				.antMatchers("/hdfc/**").hasRole("hdfc")
29
				.antMatchers("/hdfc/**").hasRole("hdfc")
28
				.antMatchers("/imei/validate").hasRole("paytail")
30
				.antMatchers("/imei/validate").hasRole("paytail")
29
				.antMatchers("/sales/logix").hasRole("logix")
31
				.antMatchers("/sales/logix").hasRole("logix")
30
				.antMatchers("/hdfctest/**").hasRole("hdfctest").antMatchers("/**").permitAll().and().httpBasic()
32
				.antMatchers("/hdfctest/**").hasRole("hdfctest").antMatchers("/**").permitAll().and().httpBasic()