I\'m attempting to implement an API with resources that are protected by either Oauth2 OR Http-Basic authentication.
When I load the WebSecurityConfigurerAdapter which a
If anyone is trying to get this working with Spring WebFlux, the method which determines whether the request is handled is called "securityMatcher", rather than "requestMatcher".
i.e.
fun configureBasicAuth(http: ServerHttpSecurity): SecurityWebFilterChain {
return http
.securityMatcher(BasicAuthServerWebExchangeMatcher())
.authorizeExchange()
...