add swagger test

This commit is contained in:
DOHA
2016-05-30 11:48:04 +02:00
parent 27c1ed3189
commit 46cc39ed23
2 changed files with 21 additions and 1 deletions

View File

@@ -44,7 +44,7 @@ public class SecurityJavaConfig extends WebSecurityConfigurerAdapter {
.authorizeRequests()
.antMatchers("/api/csrfAttacker*").permitAll()
.antMatchers("/api/customer/**").permitAll()
.antMatchers("/api/**").authenticated()
.antMatchers("/api/foos/**").authenticated()
.and()
.formLogin()
.successHandler(authenticationSuccessHandler)