@ConfigurationProperties(value="micronaut.multitenancy.tenantresolver.session") public class SessionTenantResolverConfigurationProperties extends Object implements SessionTenantResolverConfiguration
ConfigurationProperties implementation of SessionTenantResolverConfiguration.| Modifier and Type | Field and Description | 
|---|---|
static boolean | 
DEFAULT_ENABLE
The default enable value. 
 | 
static String | 
PREFIX  | 
DEFAULT_ATTRIBUTE| Constructor and Description | 
|---|
SessionTenantResolverConfigurationProperties()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getAttribute()  | 
boolean | 
isEnabled()  | 
void | 
setAttribute(String attribute)
Session Attribute name. 
 | 
void | 
setEnabled(boolean enabled)
Enables  
SessionTenantResolver. | 
public static final String PREFIX
public static final boolean DEFAULT_ENABLE
public SessionTenantResolverConfigurationProperties()
public boolean isEnabled()
isEnabled in interface Toggleablepublic void setEnabled(boolean enabled)
SessionTenantResolver. The default value (false).enabled - True or false.public void setAttribute(String attribute)
attribute - session attribute namepublic String getAttribute()
getAttribute in interface SessionTenantResolverConfiguration