Interface CurrentTenantIdentifierResolver<T>

    • Method Detail

      • resolveCurrentTenantIdentifier

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

        default boolean isRoot​(T 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