Describe the bug
I am migrating from WebSecurityConfigurerAdapterto use SecurityFilterChainbean. 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.
Comment From: jzheaux
@sohamindellient, I'm not really clear on where the limitation is. SecurityFilterChain can have both the basic auth filter as well as the resource server filter.
It feels like this is a question that would be better suited to Stack Overflow. We prefer to use GitHub issues only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add more detail if you feel this is a genuine bug.