Uses of Interface
org.hibernate.context.spi.TenantCredentialsMapper
Packages that use TenantCredentialsMapper
Package
Description
This package contains the interfaces that make up the bootstrap API
for Hibernate.
A range of SPIs allowing integration with—and customization of—the process of building metadata.
SPI-level contracts around "current session" and "current tenant" support.
-
Uses of TenantCredentialsMapper in org.hibernate.boot
Methods in org.hibernate.boot with parameters of type TenantCredentialsMapperModifier and TypeMethodDescriptionSessionFactoryBuilder.applyTenantCredentialsMapper(TenantCredentialsMapper<?> mapper) Specifies aTenantCredentialsMapperthat is responsible for mapping the current tenant identifier to the database user and password. -
Uses of TenantCredentialsMapper in org.hibernate.boot.spi
Methods in org.hibernate.boot.spi that return TenantCredentialsMapperModifier and TypeMethodDescriptionAbstractDelegatingSessionFactoryOptions.getTenantCredentialsMapper()SessionFactoryOptions.getTenantCredentialsMapper()Obtain a reference to the current tenant credentials mapper, which is used to obtain the database user and password for the current tenant each time a connection is obtained.Methods in org.hibernate.boot.spi with parameters of type TenantCredentialsMapperModifier and TypeMethodDescriptionAbstractDelegatingSessionFactoryBuilder.applyTenantCredentialsMapper(TenantCredentialsMapper<?> mapper) -
Uses of TenantCredentialsMapper in org.hibernate.context.spi
Methods in org.hibernate.context.spi that return TenantCredentialsMapperModifier and TypeMethodDescriptionstatic @Nullable TenantCredentialsMapper<Object> MultiTenancy.getTenantCredentialsMapper(Map<String, Object> settings, StandardServiceRegistry registry) Obtain the configuredTenantCredentialsMapper.