Interface TenantCredentialsMapper<T>
- Type Parameters:
T- The type of the tenant id
Supplies
tenant-specific credential to use to connect to the database. This feature may be
used on its own or in conjunction with schema-based or discriminator-based
multitenancy.
When a tenant credentials mapper is set,
ConnectionProvider.getConnection(String, String)
is used to acquire JDBC connections. This typically requires that the JDBC DataSource
correctly implements the method DataSource.getConnection(String, String).
- Since:
- 7.3
- See Also:
-
Method Details
-
user
-
password
-