From 5bde65b417d807fa132a8fa624b3d017e8fa49b6 Mon Sep 17 00:00:00 2001 From: Peter Conrey Date: Thu, 21 Nov 2024 14:00:05 -0600 Subject: [PATCH] Clarify where "withDefaults()" comes from --- .../modules/ROOT/pages/reactive/oauth2/resource-server/jwt.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/ROOT/pages/reactive/oauth2/resource-server/jwt.adoc b/docs/modules/ROOT/pages/reactive/oauth2/resource-server/jwt.adoc index b3d14fdb39..6cb56fb284 100644 --- a/docs/modules/ROOT/pages/reactive/oauth2/resource-server/jwt.adoc +++ b/docs/modules/ROOT/pages/reactive/oauth2/resource-server/jwt.adoc @@ -175,7 +175,7 @@ SecurityWebFilterChain springSecurityFilterChain(ServerHttpSecurity http) { .anyExchange().authenticated() ) .oauth2ResourceServer(oauth2 -> oauth2 - .jwt(withDefaults()) + .jwt(Customizer.withDefaults()) ); return http.build(); }