docs: protected IPortalCookie locatePortalCookieInSession(HttpSession session) {
          synchronized (WebUtils.getSessionMutex(session)) {
              final String portalCookieId =
                      (String) session.getAttribute(SESSION_ATTRIBUTE__PORTAL_COOKIE_ID);
              if (portalCookieId == null) {
                  return null;
              }
              IPortalCookie portalCookie = this.portletCookieDao.getPortalCookie(portalCookieId);
              return portalCookie;
          }
      }