Package io.micronaut.multitenancy.tenantresolver
package io.micronaut.multitenancy.tenantresolver
Encapsulate classes related with Multitenancy tenant resolution.
- Since:
- 1.0
- Author:
- Sergio del Amo
-
ClassDescriptionAbstract class for a tenant resolver that resolves the tenant from the Subdomain.A
TenantResolver
that resolves the tenant from a request cookie.CookieTenantResolver
configuration.ConfigurationProperties
implementation ofCookieTenantResolverConfiguration
.ATenantResolver
that resolves to a fixed static named tenant id.Interface to defineFixedTenantResolver
configuration.ConfigurationProperties
implementation ofFixedTenantResolverConfiguration
.ATenantResolver
that resolves the tenant from the request HTTP Header.HttpHeaderTenantResolver
configuration.ConfigurationProperties
implementation ofHttpHeaderTenantResolverConfiguration
.An interface for multi-tenant aware applications which resolve the current identifier for the current request.A tenant resolver that resolves the tenant from the subdomain.A tenant resolver that resolves the tenant from the authenticated principal.An interface definingPrincipalTenantResolver
configuration.ConfigurationProperties
implementation ofPrincipalTenantResolverConfiguration
.A tenant resolver that resolves the tenant from the subdomain.Resolves the tenant id from the user HTTP session.A interface definingSessionTenantResolver
configuration.ConfigurationProperties
implementation ofSessionTenantResolverConfiguration
.Tenant resolver that resolves the tenant from the Subdomain.An interface definingSubdomainTenantResolver
configuration.ConfigurationProperties
implementation ofSessionTenantResolverConfiguration
.ATenantResolver
that resolves from a System property called "tenantId".An interface to defineSystemPropertyTenantResolver
configuration.ConfigurationProperties
properties implementation ofSystemPropertyTenantResolverConfiguration
.An interface for applications that implement Multi Tenancy to implement in order to resolve the current identifier.