- updated swagger description

- added /customers/{id}/toaccounts endpoint
This commit is contained in:
Main
2016-02-08 22:54:03 +03:00
parent 59ecaa804a
commit cd35ac3d31
34 changed files with 487 additions and 76 deletions

View File

@@ -55,7 +55,9 @@ public class AuthConfiguration extends WebSecurityConfigurerAdapter {
.antMatchers("/js/**").permitAll()
.antMatchers("/styles/**").permitAll()
.antMatchers("/views/**").permitAll()
.antMatchers(HttpMethod.POST, "/authenticate").permitAll()
.antMatchers(HttpMethod.POST, "/register/step_1").permitAll()
.antMatchers(HttpMethod.POST, "/register/step_2").permitAll()
.antMatchers(HttpMethod.POST, "/login").permitAll()
.anyRequest().authenticated().and()
.addFilterBefore(new StatelessAuthenticationFilter(tokenAuthenticationService), UsernamePasswordAuthenticationFilter.class);
}