public interface TenantIdFinder
Finder of the tenant if from the request.
  • Method Summary

    Modifier and Type
    Method
    Description
    tenantId(ProviderRequest providerRequest)
    Identify a tenant from the request.
  • Method Details

    • tenantId

      Optional<String> tenantId(ProviderRequest providerRequest)
      Identify a tenant from the request.
      Parameters:
      providerRequest - request of the security provider with access to headers (see ProviderRequest.env()), and other information about the request
      Returns:
      the identified tenant id, or empty option if tenant id cannot be identified from the request