Skip to content

Commit

Permalink
Update security-openid-connect-multitenancy.adoc
Browse files Browse the repository at this point in the history
  • Loading branch information
ynojima committed Sep 3, 2022
1 parent a4f6f6a commit 855765e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,10 @@ public class CustomTenantResolver implements TenantResolver {
}
}
----
===
====

[NOTE]
===
====
If you also use xref:hibernate-orm.adoc#multitenancy[Hibernate ORM multitenancy] and both OIDC and Hibernate ORM tenant IDs are the same and must be extracted from the Vert.x `RoutingContext` then you can pass the tenant id from the OIDC Tenant Resolver to the Hibernate ORM Tenant Resolver as a `RoutingContext` attribute, for example:
[source,java]
Expand All @@ -203,7 +202,8 @@ public class CustomTenantResolver implements TenantResolver {
}
}
----
===
====

== Configuring the application

Expand Down

0 comments on commit 855765e

Please sign in to comment.