mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-25 13:32:30 +00:00
Remove "/path/**/other" patterns in tests
Fixes gh-8513
This commit is contained in:
parent
fbd3cfa40e
commit
1aadbb2f4d
@ -698,7 +698,7 @@ public class OAuth2ResourceServerSpecTests {
|
||||
// @formatter:off
|
||||
http
|
||||
.authorizeExchange()
|
||||
.pathMatchers("/**/message/**").hasAnyAuthority("SCOPE_message:read")
|
||||
.pathMatchers("/*/message/**").hasAnyAuthority("SCOPE_message:read")
|
||||
.and()
|
||||
.oauth2ResourceServer()
|
||||
.authenticationManagerResolver(authenticationManagerResolver());
|
||||
|
Loading…
x
Reference in New Issue
Block a user