code: public static void setTenant(TenantContextHolder holder, String tenantKeyValue) {
          holder.getPrivilegedContext().setTenant(buildTenant(tenantKeyValue));
      }
docs: Sets current thread tenant.
  
  @param holder         tenant contexts holder
  @param tenantKeyValue tenant key value