Class CookieTenantResolver

java.lang.Object
io.micronaut.multitenancy.tenantresolver.CookieTenantResolver
All Implemented Interfaces:
HttpRequestTenantResolver, TenantResolver

@Singleton @Requires(beans=CookieTenantResolverConfiguration.class) @Requires(property="micronaut.multitenancy.tenantresolver.cookie.enabled",value="true",defaultValue="false") public class CookieTenantResolver extends Object implements TenantResolver, HttpRequestTenantResolver
A TenantResolver that resolves the tenant from a request cookie.
Since:
1.0.0
Author:
Sergio del Amo