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…
Reference in New Issue