code: @Override
      public boolean mustLoadProfilesFromSession(final C context, final List<Client> currentClients) {
          return isEmpty(currentClients) || currentClients.get(0) instanceof IndirectClient ||
              currentClients.get(0) instanceof AnonymousClient;
      }
docs: Load the profiles from the web session if no clients are defined or if the first client is an indirect one
  or if the first client is the anonymous one.
  
  @param context the web context
  @param currentClients the current clients
  @return whether the profiles must be loaded from the web session