WebFluxSecurityConfiguration defaults HTTP Basic
Fixes gh-4346
This commit is contained in:
@@ -36,8 +36,6 @@ public class SecurityConfig {
|
||||
|
||||
@Bean
|
||||
WebFilter springSecurityFilterChain(HttpSecurity http) throws Exception {
|
||||
http.httpBasic();
|
||||
|
||||
http.authorizeExchange()
|
||||
.antMatchers("/admin/**").hasRole("ADMIN")
|
||||
.antMatchers("/users/{user}/**").access(this::currentUserMatchesPath)
|
||||
|
||||
Reference in New Issue
Block a user