Brand Separation
How HCDB keeps the data of each brand apart.
One HaaS Connector for DB (HCDB) environment can hold the data of more than one brand. HCDB keeps each brand's data apart by the realm of each request: every request HaaS sends names a realm, each realm resolves to one brand, and HCDB answers from that brand's records only.
How it works
- Every request names a realm. HaaS sends a realm name with every Data Adapter request. HCDB refuses a request without one with HTTP 400 (invalid header).
- Each realm resolves to a brand. Biza configures which brand each realm name maps to. More than one realm can map to the same brand, but each realm maps to exactly one. HCDB refuses a request with a realm it does not know with HTTP 400 (invalid header). There is no default brand.
- Data is held by brand. Every record HCDB holds belongs to one brand, and HCDB answers each request from that brand's records only. The same Principal, user or account identifier can exist in two brands with different data behind it, and each realm sees only its brand's.
- Not found means not found in this brand. A Principal or account that exists only in another brand is treated as unknown, with the same response as one that does not exist at all (see List Results).
- Data is loaded by brand. When Biza loads data into HCDB, every record names the brand it belongs to.
Sequence diagram
Two realms that map to the same brand see the same data. Two realms that map to different brands never see each other's data, even for the same identifiers.
Related
- HaaS Adapter
- Configuration: the brands and realm names you provide
- Multi-brand configuration in HaaS