Skip to content

Commit 67853d5

Browse files
caio-henriquejzheaux
authored andcommitted
docs: add correction to java example in multitenanci.adoc
1 parent 9b1e9c5 commit 67853d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ Java::
419419
----
420420
@Bean
421421
JwtDecoder jwtDecoder(JWTProcessor jwtProcessor, OAuth2TokenValidator<Jwt> jwtValidator) {
422-
NimbusJwtDecoder decoder = new NimbusJwtDecoder(processor);
422+
NimbusJwtDecoder decoder = new NimbusJwtDecoder(jwtProcessor);
423423
OAuth2TokenValidator<Jwt> validator = new DelegatingOAuth2TokenValidator<>
424424
(JwtValidators.createDefault(), jwtValidator);
425425
decoder.setJwtValidator(validator);

0 commit comments

Comments
 (0)