imp: clean web security config
@@ -51,12 +51,6 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
@Override
protected void configure(HttpSecurity http) throws Exception {
- // http.antMatcher("/**")
- // .httpBasic()
- // .and()
- // .authorizeRequests()
- // .antMatchers(HttpMethod.OPTIONS, "/oauth/token", "/register")
- // .permitAll();
http.antMatcher("/**").authorizeRequests().anyRequest().authenticated();
}
