Class UrlBaseTenantIdentificationStrategy

  • All Implemented Interfaces:

    public class UrlBaseTenantIdentificationStrategy
    extends Object
    implements ITenantIdentificationStrategy
    This class is a tenant identification strategy which assumes that a single path element will be present between the server base URL and individual request.

    For example, with this strategy enabled, given the following URL on a server with base URL, the server will extract the TENANT-A portion of the URL and use it as the tenant identifier. The request will then proceed to read the resource with ID Patient/123.