Class PrincipalTenantResolver

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

@Singleton @Requires(property="micronaut.multitenancy.tenantresolver.principal.enabled", value="true", defaultValue="false") public class PrincipalTenantResolver extends Object implements TenantResolver, HttpRequestTenantResolver
A tenant resolver that resolves the tenant from the authenticated principal.
Since:
1.0.0
Author:
Sergio del Amo
  • Constructor Details

    • PrincipalTenantResolver

      public PrincipalTenantResolver()
  • Method Details