Package org.linuxforhealth.fhir.config
Class FHIRRequestContextTenantIdProvider
- java.lang.Object
-
- org.linuxforhealth.fhir.config.FHIRRequestContextTenantIdProvider
-
- All Implemented Interfaces:
TenantIdProvider
public class FHIRRequestContextTenantIdProvider extends java.lang.Object implements TenantIdProvider
A tenant id provider that gets the tenant id from the request context
-
-
Field Summary
-
Fields inherited from interface org.linuxforhealth.fhir.core.TenantIdProvider
DEFAULT
-
-
Constructor Summary
Constructors Constructor Description FHIRRequestContextTenantIdProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getTenantId()
Get the tenant id for a particular context
-
-
-
Method Detail
-
getTenantId
public java.lang.String getTenantId()
Description copied from interface:TenantIdProvider
Get the tenant id for a particular context- Specified by:
getTenantId
in interfaceTenantIdProvider
- Returns:
- the tenant id
-
-