Remove "/path/**/other" patterns in tests

Fixes gh-8513
This commit is contained in:
Eleftheria Stein 2020-05-11 16:58:09 -04:00
parent fbd3cfa40e
commit 1aadbb2f4d
1 changed files with 1 additions and 1 deletions

View File

@ -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());