@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 io.micronaut.core.util.Toggleablepublic void setEnabled(boolean enabled)
SubdomainTenantResolver. Default value (false).enabled - True or false.