@ConfigurationProperties(value="micronaut.multitenancy.tenantresolver.subdomain") public class SubdomainTenantResolverConfigurationProperties extends java.lang.Object implements SubdomainTenantResolverConfiguration
ConfigurationProperties
implementation of SessionTenantResolverConfiguration
.Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ENABLE
The default enable value.
|
static java.lang.String |
PREFIX |
Constructor and Description |
---|
SubdomainTenantResolverConfigurationProperties() |
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled() |
void |
setEnabled(boolean enabled)
Enables
SubdomainTenantResolver . |
public static final java.lang.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.