Class SessionTenantResolver

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

@Requires(classes={io.micronaut.session.Session.class,io.micronaut.session.http.HttpSessionFilter.class}) @Requires(beans=SessionTenantResolverConfiguration.class) @Requires(property="micronaut.multitenancy.tenantresolver.session.enabled",value="true",defaultValue="false") @Singleton public class SessionTenantResolver extends Object implements TenantResolver, HttpRequestTenantResolver
Resolves the tenant id from the user HTTP session.
Since:
1.0.0
Author:
Sergio del Amo