Forráskód Böngészése

docs: add correction to java example in multitenanci.adoc

Caio Henrique 1 éve
szülő
commit
67853d585e

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

@@ -419,7 +419,7 @@ Java::
 ----
 @Bean
 JwtDecoder jwtDecoder(JWTProcessor jwtProcessor, OAuth2TokenValidator<Jwt> jwtValidator) {
-	NimbusJwtDecoder decoder = new NimbusJwtDecoder(processor);
+	NimbusJwtDecoder decoder = new NimbusJwtDecoder(jwtProcessor);
 	OAuth2TokenValidator<Jwt> validator = new DelegatingOAuth2TokenValidator<>
 			(JwtValidators.createDefault(), jwtValidator);
 	decoder.setJwtValidator(validator);