Update authorizeHttpRequests

Closes gh-49
This commit is contained in:
Josh Cummings
2021-11-10 10:20:09 -07:00
parent 3a58daf55d
commit ca32d8e45d
19 changed files with 19 additions and 19 deletions

View File

@@ -47,7 +47,7 @@ public class OAuth2ResourceServerSecurityConfiguration {
AuthenticationManagerResolver<HttpServletRequest> authenticationManagerResolver) throws Exception {
// @formatter:off
http
.authorizeRequests((authorize) -> authorize
.authorizeHttpRequests((authorize) -> authorize
.mvcMatchers("/**/message/**").hasAuthority("SCOPE_message:read")
.anyRequest().authenticated()
)