Skip to content

Commit 9535566

Browse files
delezejzheaux
authored andcommitted
Update multitenancy.adoc
The Java example at line 421 should use the injected `jwtValidator` and not from the current class referenced by `this. jwtValidator`.
1 parent 27b3f4d commit 9535566

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ Now that we have a tenant-aware processor and a tenant-aware validator, we can p
418418
JwtDecoder jwtDecoder(JWTProcessor jwtProcessor, OAuth2TokenValidator<Jwt> jwtValidator) {
419419
NimbusJwtDecoder decoder = new NimbusJwtDecoder(processor);
420420
OAuth2TokenValidator<Jwt> validator = new DelegatingOAuth2TokenValidator<>
421-
(JwtValidators.createDefault(), this.jwtValidator);
421+
(JwtValidators.createDefault(), jwtValidator);
422422
decoder.setJwtValidator(validator);
423423
return decoder;
424424
}

0 commit comments

Comments
 (0)