Interface CurrentTenantIdentifierResolver

    • Method Detail

      • resolveCurrentTenantIdentifier

        String resolveCurrentTenantIdentifier()
        Resolve the current tenant identifier.
        Returns:
        The current tenant identifier
      • isRoot

        default boolean isRoot​(String tenantId)
        Does the given tenant id represent a "root" tenant with access to all partitions?
        Parameters:
        tenantId - a tenant id produced by resolveCurrentTenantIdentifier()
        Returns:
        true is this is root tenant