code: @SuppressWarnings("squid:S3752") // multiple methods required
    @RequestMapping(method = {RequestMethod.GET, RequestMethod.POST})
    public String forwardDefaultMenuDefaultPlugin(Model model) {
      Menu menu =
          menuReaderService
              .getMenu()
              .orElseThrow(() -> new RuntimeException("main menu does not exist"));
      String menuId = menu.getId();
      model.addAttribute(KEY_MENU_ID, menuId);
  
      Optional<MenuItem> optionalActiveItem = menu.firstItem();
      if (!optionalActiveItem.isPresent()) {
        LOG.warn("main menu does not contain any (accessible) items");
        return "forward:/login";
      }
      MenuItem activeItem = optionalActiveItem.get();
      String pluginId = activeItem.getId();
  
      String contextUri = URI + '/' + menuId + '/' + pluginId;
      addModelAttributes(model, contextUri);
  
      return getForwardPluginUri(activeItem.getId(), null, getQueryString(activeItem));
    }
docs: Forwards to the first plugin of the first menu that the user can read since no menu path is
  provided.