spring-security
spring-security copied to clipboard
Multiple SecurityFilterChain Beans with Basic Auth and Oauth support
Describe the bug
I am migrating from WebSecurityConfigurerAdapter to use SecurityFilterChain bean. In my current implementation I have an ability to support both Basic authentication as well as Oauth2ResourceServerAuthentication. (using the WebSecurityConfigurerAdapter and having 2 different configuration files). But with the bean I can only support either of the two types of authentication. Is there a way to support both.