Skip to content

Commit c03bd3f

Browse files
sueszlijzheaux
authored andcommitted
Remove deprecated usage
Closes gh-13446
1 parent a8f5748 commit c03bd3f

File tree

1 file changed

+1
-1
lines changed
  • docs/modules/ROOT/pages/servlet/oauth2/resource-server

1 file changed

+1
-1
lines changed

docs/modules/ROOT/pages/servlet/oauth2/resource-server/jwt.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
176176
.authorizeHttpRequests(authorize -> authorize
177177
.anyRequest().authenticated()
178178
)
179-
.oauth2ResourceServer(OAuth2ResourceServerConfigurer::jwt);
179+
.oauth2ResourceServer((oauth2) -> oauth2.jwt(Customizer.withDefaults()));
180180
return http.build();
181181
}
182182
----

0 commit comments

Comments
 (0)