mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-26 05:42:31 +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
|
// @formatter:off
|
||||||
http
|
http
|
||||||
.authorizeExchange()
|
.authorizeExchange()
|
||||||
.pathMatchers("/**/message/**").hasAnyAuthority("SCOPE_message:read")
|
.pathMatchers("/*/message/**").hasAnyAuthority("SCOPE_message:read")
|
||||||
.and()
|
.and()
|
||||||
.oauth2ResourceServer()
|
.oauth2ResourceServer()
|
||||||
.authenticationManagerResolver(authenticationManagerResolver());
|
.authenticationManagerResolver(authenticationManagerResolver());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user