Solutionunvalidated
Refactor the configuration to define a @Bean SecurityFilterChain (and relevant Authentication setup) instead of extending WebSecurityConfigurerAdapter, using the current HttpSecurity DSL such as authorizeHttpRequests with requestMatchers and anyRequest().authenticated(), plus formLogin/logout configuration.
88110a12-cb90-4038-8f61-25bebfd508a8
Refactor the configuration to define a @Bean SecurityFilterChain (and relevant Authentication setup) instead of extending WebSecurityConfigurerAdapter, using the current HttpSecurity DSL such as authorizeHttpRequests with requestMatchers and anyRequest().authenticated(), plus formLogin/logout configuration.