hateoas - minor changes for self and method link creation

This commit is contained in:
slavisa-baeldung
2016-04-21 12:28:28 +01:00
parent 398b0e30f6
commit 4f410a7e11
3 changed files with 39 additions and 36 deletions

View File

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