Class SubdomainTenantResolverConfigurationProperties
java.lang.Object
io.micronaut.multitenancy.tenantresolver.SubdomainTenantResolverConfigurationProperties
- All Implemented Interfaces:
io.micronaut.core.util.Toggleable
,SubdomainTenantResolverConfiguration
@ConfigurationProperties("micronaut.multitenancy.tenantresolver.subdomain")
public class SubdomainTenantResolverConfigurationProperties
extends Object
implements SubdomainTenantResolverConfiguration
ConfigurationProperties
implementation of SessionTenantResolverConfiguration
.- Since:
- 1.0.0
- Author:
- Sergio del Amo
-
Field Summary
Modifier and TypeFieldDescriptionstatic final boolean
The default enable value.static final String
Configuration Properties prefix. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setEnabled
(boolean enabled) EnablesSubdomainTenantResolver
.
-
Field Details
-
PREFIX
Configuration Properties prefix.- See Also:
-
DEFAULT_ENABLE
public static final boolean DEFAULT_ENABLEThe default enable value.- See Also:
-
-
Constructor Details
-
SubdomainTenantResolverConfigurationProperties
public SubdomainTenantResolverConfigurationProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceio.micronaut.core.util.Toggleable
-
setEnabled
public void setEnabled(boolean enabled) EnablesSubdomainTenantResolver
. Default value (false).- Parameters:
enabled
- True or false.
-