docs: private static CmsWorkplaceSettings getWorkplaceSettings(CmsObject cms, HttpSession session) {
  
          CmsWorkplaceSettings settings = (CmsWorkplaceSettings)session.getAttribute(
              CmsWorkplaceManager.SESSION_WORKPLACE_SETTINGS);
          if (settings == null) {
              settings = CmsLoginHelper.initSiteAndProject(cms);
              if (VaadinService.getCurrentRequest() != null) {
                  VaadinService.getCurrentRequest().getWrappedSession().setAttribute(
                      CmsWorkplaceManager.SESSION_WORKPLACE_SETTINGS,
                      settings);
              } else {
                  session.setAttribute(CmsWorkplaceManager.SESSION_WORKPLACE_SETTINGS, settings);
              }
          }
          return settings;
      }