Interface TenantResolver
- All Known Implementing Classes:
FixedTenantResolver,SubdomainTenantResolver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Resolver of the tenant ID, in case multi-tenancy is used.
-
Method Summary
-
Method Details
-
resolve
Optional<String> resolve(io.vertx.ext.web.RoutingContext context, jakarta.ws.rs.core.SecurityContext securityContext) Returns a tenant identifier given aRoutingContextand aSecurityContext.- Parameters:
context- the routing contextsecurityContext- the security context- Returns:
- The tenant identifier. If empty, indicates that the multi-tenancy is disabled.
-