@ConfigurationProperties(value="micronaut.multitenancy.tenantresolver.subdomain") public class SubdomainTenantResolverConfigurationProperties extends Object implements SubdomainTenantResolverConfiguration
ConfigurationProperties
implementation of SessionTenantResolverConfiguration
.Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ENABLE
The default enable value.
|
static String |
PREFIX |
Constructor and Description |
---|
SubdomainTenantResolverConfigurationProperties() |
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled() |
void |
setEnabled(boolean enabled)
Enables
SubdomainTenantResolver . |
public static final String PREFIX
public static final boolean DEFAULT_ENABLE
public SubdomainTenantResolverConfigurationProperties()
public boolean isEnabled()
isEnabled
in interface Toggleable
public void setEnabled(boolean enabled)
SubdomainTenantResolver
. Default value (false).enabled
- True or false.