Expected Behavior

Current Behavior

Context

Comment From: marcusdacoregio

Hi @JasmineXieCCD,

can you describe your use case in detail?

Comment From: sivrim

@JasmineXieCCD , You can get HttpSecurity bean through dependency injection unless you have very custom solution. WebSecurityConfigurerAdapter has been replaced with SecurityFilterChain for making the flow more component oriented, but the common usage patterns remain almost same. Please see this article

Comment From: marcusdacoregio

I think this has been answered, therefore I'm closing this. @JasmineXieCCD, feel free to continue discussing if you still have a problem.