Skip to content

Commit 626e53d

Browse files
selllamimarcusdacoregio
authored andcommitted
Fix: Replace tenantRepository with tenants
1 parent a5464ed commit 626e53d

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
@@ -248,7 +248,7 @@ public class TenantJWSKeySelector
248248
}
249249
250250
private JWSKeySelector<SecurityContext> fromTenant(String tenant) {
251-
return Optional.ofNullable(this.tenantRepository.findById(tenant)) <3>
251+
return Optional.ofNullable(this.tenants.findById(tenant)) <3>
252252
.map(t -> t.getAttrbute("jwks_uri"))
253253
.map(this::fromUri)
254254
.orElseThrow(() -> new IllegalArgumentException("unknown tenant"));

0 commit comments

Comments
 (0)