Skip to content

Commit 5bde65b

Browse files
authored
Clarify where "withDefaults()" comes from
1 parent 59b7b55 commit 5bde65b

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ SecurityWebFilterChain springSecurityFilterChain(ServerHttpSecurity http) {
175175
.anyExchange().authenticated()
176176
)
177177
.oauth2ResourceServer(oauth2 -> oauth2
178-
.jwt(withDefaults())
178+
.jwt(Customizer.withDefaults())
179179
);
180180
return http.build();
181181
}

0 commit comments

Comments
 (0)