@ConfigurationProperties(value="micronaut.multitenancy.tenantresolver.principal") public class PrincipalTenantResolverConfigurationProperties extends java.lang.Object implements PrincipalTenantResolverConfiguration
ConfigurationProperties
implementation of PrincipalTenantResolverConfiguration
.Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ENABLE
The default enable value.
|
static java.lang.String |
PREFIX |
Constructor and Description |
---|
PrincipalTenantResolverConfigurationProperties() |
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled() |
void |
setEnabled(boolean enabled)
Enables
PrincipalTenantResolver . |
public static final java.lang.String PREFIX
public static final boolean DEFAULT_ENABLE
public PrincipalTenantResolverConfigurationProperties()
public boolean isEnabled()
isEnabled
in interface Toggleable
public void setEnabled(boolean enabled)
PrincipalTenantResolver
. The default enable is false.enabled
- True or false.