We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbd3cfa commit 1aadbb2Copy full SHA for 1aadbb2
config/src/test/java/org/springframework/security/config/web/server/OAuth2ResourceServerSpecTests.java
@@ -698,7 +698,7 @@ SecurityWebFilterChain springSecurity(ServerHttpSecurity http) {
698
// @formatter:off
699
http
700
.authorizeExchange()
701
- .pathMatchers("/**/message/**").hasAnyAuthority("SCOPE_message:read")
+ .pathMatchers("/*/message/**").hasAnyAuthority("SCOPE_message:read")
702
.and()
703
.oauth2ResourceServer()
704
.authenticationManagerResolver(authenticationManagerResolver());
0 commit comments