temporarily removed authentication
This commit is contained in:
@@ -49,13 +49,6 @@ public class AuthConfiguration extends WebSecurityConfigurerAdapter {
|
||||
http.csrf().disable()
|
||||
.authorizeRequests()
|
||||
.antMatchers("/**").permitAll()
|
||||
/* .antMatchers("/health").permitAll()
|
||||
.antMatchers("/swagger-ui.html").permitAll()
|
||||
.antMatchers("/v2/api-docs").permitAll()
|
||||
.antMatchers("*//**.js").permitAll()
|
||||
.antMatchers("*//**.css").permitAll()
|
||||
.antMatchers(HttpMethod.POST, "/customers").permitAll()
|
||||
.antMatchers(HttpMethod.POST, "/login").permitAll()*/
|
||||
.anyRequest().authenticated().and()
|
||||
.addFilterBefore(new StatelessAuthenticationFilter(tokenAuthenticationService), UsernamePasswordAuthenticationFilter.class);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user