Spring HATEOAS support - multiple links

This commit is contained in:
Roshan Thomas
2016-04-06 23:45:35 -04:00
parent 4ec8015949
commit cdeb7147b4
3 changed files with 11 additions and 3 deletions

View File

@@ -43,6 +43,8 @@ public class SecurityJavaConfig extends WebSecurityConfigurerAdapter {
.and()
.authorizeRequests()
.antMatchers("/api/csrfAttacker*").permitAll()
.antMatchers("/api/customers**").permitAll()
.antMatchers("/api/customer/**").permitAll()
.antMatchers("/api/**").authenticated()
.and()
.formLogin()