docs: @SuppressWarnings("unchecked")
      protected Map<String, SessionOnlyPortletCookieImpl> getSessionOnlyPortletCookieMap(
              final HttpServletRequest request) {
          final HttpSession session = request.getSession();
          synchronized (WebUtils.getSessionMutex(session)) {
              Map<String, SessionOnlyPortletCookieImpl> sessionOnlyPortletCookies =
                      (Map<String, SessionOnlyPortletCookieImpl>)
                              session.getAttribute(SESSION_ATTRIBUTE__SESSION_ONLY_COOKIE_MAP);
              if (sessionOnlyPortletCookies == null) {
                  sessionOnlyPortletCookies =
                          new ConcurrentHashMap<String, SessionOnlyPortletCookieImpl>();
                  session.setAttribute(
                          SESSION_ATTRIBUTE__SESSION_ONLY_COOKIE_MAP, sessionOnlyPortletCookies);
              }
              return sessionOnlyPortletCookies;
          }
      }