Interface TenantConfig

All Known Implementing Classes:
TenantConfigImpl

public interface TenantConfig
The contract to provide tenant connection settings.

The config should provide either JNDI data-source name or JDBC connection properties for the database connection.

  • Field Details

  • Method Details

    • getActive

      Boolean getActive()
      Whether the tenant is active.
    • getVisible

      Boolean getVisible()
      Whether the tenant is visible in tenant selection box.
    • getTenantId

      String getTenantId()
      The unique tenant identifier.
    • getTenantName

      String getTenantName()
      The display name.
    • getTenantHosts

      String getTenantHosts()
      Comma separated list of hostnames for which this tenant is valid.
    • getTenantRoles

      String getTenantRoles()
      Comma separated list of roles allowed to use this tenant.
    • getJndiDataSource

      String getJndiDataSource()
      JNDI data source name.
    • getJdbcDriver

      String getJdbcDriver()
      The JDBC driver for the tenant.
    • getJdbcUrl

      String getJdbcUrl()
      The JDBC connection url for the tenant.
    • getJdbcUser

      String getJdbcUser()
      The JDBC user for the tenant.
    • getJdbcPassword

      String getJdbcPassword()
      The JDBC password for the tenant.