Subversion Repositories SmartDukaan

Rev

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

Rev 26313 Rev 26314
Line 20... Line 20...
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.
24
		http.
25
		logout().logoutUrl("logmeout")
25
		logout().logoutUrl("logmeout").and()
26
		.cors().disable().csrf().disable()
26
		.cors().disable().csrf().disable()
27
				.authorizeRequests()
27
				.authorizeRequests()
28
				//.antMatchers("/**").hasRole("hdfc")
28
				//.antMatchers("/**").hasRole("hdfc")
29
				.antMatchers("/hdfc/**").hasRole("hdfc")
29
				.antMatchers("/hdfc/**").hasRole("hdfc")
30
				.antMatchers("/hdfctest/**").hasRole("hdfctest")
30
				.antMatchers("/hdfctest/**").hasRole("hdfctest")