fix: add correction to java example in multitenancy.adoc

Closes gh-15146
This commit is contained in:
Caio Henrique 2024-05-23 11:07:04 -03:00 committed by Marcus Hert Da Coregio
parent c7b739eb3f
commit 896dd93313
1 changed files with 1 additions and 1 deletions

View File

@ -339,7 +339,7 @@ Java::
[source,java,role="primary"] [source,java,role="primary"]
---- ----
@Bean @Bean
JWTProcessor jwtProcessor(JWTClaimSetJWSKeySelector keySelector) { JWTProcessor jwtProcessor(JWTClaimsSetAwareJWSKeySelector keySelector) {
ConfigurableJWTProcessor<SecurityContext> jwtProcessor = ConfigurableJWTProcessor<SecurityContext> jwtProcessor =
new DefaultJWTProcessor(); new DefaultJWTProcessor();
jwtProcessor.setJWTClaimsSetAwareJWSKeySelector(keySelector); jwtProcessor.setJWTClaimsSetAwareJWSKeySelector(keySelector);