Subversion Repositories SmartDukaan

Rev

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

Rev 26310 Rev 26313
Line 19... Line 19...
19
		web.ignoring().anyRequest();
19
		web.ignoring().anyRequest();
20
	}*/
20
	}*/
21
 
21
 
22
	@Override
22
	@Override
23
	protected void configure(HttpSecurity http) throws Exception {
23
	protected void configure(HttpSecurity http) throws Exception {
-
 
24
		http.
-
 
25
		logout().logoutUrl("logmeout")
24
		http.cors().disable().csrf().disable()
26
		.cors().disable().csrf().disable()
25
				.authorizeRequests()
27
				.authorizeRequests()
26
				//.antMatchers("/**").hasRole("hdfc")
28
				//.antMatchers("/**").hasRole("hdfc")
27
				.antMatchers("/hdfc/**").hasRole("hdfc")
29
				.antMatchers("/hdfc/**").hasRole("hdfc")
28
				.antMatchers("/hdfctest/**").hasRole("hdfctest")
30
				.antMatchers("/hdfctest/**").hasRole("hdfctest")
29
				.antMatchers("/**").permitAll()
31
				.antMatchers("/**").permitAll()