Multi-Tenant Terminology
There are several terms commonly used in the Broadleaf Commerce MultiTenant solution.
Term | Description |
---|---|
Site Discriminator | A column added to every site specific table in the database. Broadleaf provides a JPA extension to ensure that only data appropriate for the site context is returned. |
Catalog Discriminator | A column added to every catalog specific table in the database. Broadleaf provides a JPA extension to ensure that only data appropriate for the catalog context is returned. Catalogs are associated with one or more sites. |
Site Resolver | A component responsible for determining the Site context for a given request. |
Single Schema | This module uses a single schema for all tenants meaning that all data is contained in one database. This makes upgrades and maintenance of the application simpler. Other schema models are possible with customization. |
Security Context | A mechanism for providing admin level security to an Admin User that only applies to a specific context (for example to a single site). |