Remove authenticated for all requests
This commit is contained in:
parent
bf383fc29c
commit
84be3ba460
|
@ -27,7 +27,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
|
||||||
protected void configure(HttpSecurity http) throws Exception {
|
protected void configure(HttpSecurity http) throws Exception {
|
||||||
http.apply(new AuthorizationFilterConfigurer(authorizationProvider, utils));
|
http.apply(new AuthorizationFilterConfigurer(authorizationProvider, utils));
|
||||||
http.sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS);
|
http.sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS);
|
||||||
http.authorizeRequests().anyRequest().authenticated();
|
http.authorizeRequests().anyRequest().permitAll();
|
||||||
http.httpBasic();
|
http.httpBasic();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue