Skip to content

Commit 670d10d

Browse files
committed
Fix jwtDecoder Documentation Usage
Closes gh-10505
1 parent 72db6a2 commit 670d10d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/manual/src/docs/asciidoc/_includes/servlet/oauth2/oauth2-resourceserver.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2734,9 +2734,9 @@ Now that we have a tenant-aware processor and a tenant-aware validator, we can p
27342734
----
27352735
@Bean
27362736
JwtDecoder jwtDecoder(JWTProcessor jwtProcessor, OAuth2TokenValidator<Jwt> jwtValidator) {
2737-
NimbusJwtDecoder decoder = new NimbusJwtDecoder(processor);
2737+
NimbusJwtDecoder decoder = new NimbusJwtDecoder(jwtProcessor);
27382738
OAuth2TokenValidator<Jwt> validator = new DelegatingOAuth2TokenValidator<>
2739-
(JwtValidators.createDefault(), this.jwtValidator);
2739+
(JwtValidators.createDefault(), jwtValidator);
27402740
decoder.setJwtValidator(validator);
27412741
return decoder;
27422742
}

0 commit comments

Comments
 (0)