Skip to content

Commit 1abea13

Browse files
committed
Update Deprecated Usage
Issue gh-12629
1 parent 1279373 commit 1abea13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/src/test/java/org/springframework/security/config/annotation/web/configurers/oauth2/server/resource/OAuth2ResourceServerConfigurerTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1884,7 +1884,7 @@ SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
18841884
.anyRequest().authenticated()
18851885
)
18861886
.oauth2Login(withDefaults())
1887-
.oauth2ResourceServer(OAuth2ResourceServerConfigurer::jwt);
1887+
.oauth2ResourceServer((oauth2) -> oauth2.jwt(withDefaults()));
18881888
return http.build();
18891889
// @formatter:on
18901890
}

0 commit comments

Comments
 (0)