public interface TenantConfig
The config should provide either JNDI data-source name or JDBC connection properties for the database connection.
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_TENANT_ID |
Modifier and Type | Method and Description |
---|---|
Boolean |
getActive()
Whether the tenant is active.
|
String |
getJdbcDriver()
The JDBC driver for the tenant.
|
String |
getJdbcPassword()
The JDBC password for the tenant.
|
String |
getJdbcUrl()
The JDBC connection url for the tenant.
|
String |
getJdbcUser()
The JDBC user for the tenant.
|
String |
getJndiDataSource()
JNDI data source name.
|
String |
getTenantHosts()
Comma separated list of hostnames for which this tenant is valid.
|
String |
getTenantId()
The unique tenant identifier.
|
String |
getTenantName()
The display name.
|
String |
getTenantRoles()
Comma separated list of roles allowed to use this tenant.
|
Boolean |
getVisible()
Whether the tenant is visible in tenant selection box.
|
static final String DEFAULT_TENANT_ID
Boolean getActive()
Boolean getVisible()
String getTenantId()
String getTenantName()
String getTenantHosts()
String getTenantRoles()
String getJndiDataSource()
String getJdbcDriver()
String getJdbcUrl()
String getJdbcUser()
String getJdbcPassword()