Remove authenticated for all requests

This commit is contained in:
Konstantinos Triantafyllou 2020-09-03 19:49:57 +00:00
parent bf383fc29c
commit 84be3ba460
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
protected void configure(HttpSecurity http) throws Exception {
http.apply(new AuthorizationFilterConfigurer(authorizationProvider, utils));
http.sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS);
http.authorizeRequests().anyRequest().authenticated();
http.authorizeRequests().anyRequest().permitAll();
http.httpBasic();
}