code: @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;
          }
      }
docs: Get the {@link Map} of {@link SessionOnlyPortletCookieImpl}s stored in the {@link
  HttpSession} specifically used for storing {@link SessionOnlyPortletCookieImpl}s with a
  maxAge equal to -1. Will create the map if it doesn't yet exist.
  
  @param request
  @return