LPS-35937 PortalMessages should always use HttpServletRequest because if we use a portletRequest the message won't be displayed.