Interface TenantIdFinder


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

      • 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