The USER_INFO map is re-created every time the USER_INFO attribute is retrieved using getAttribute() on org.apache.pluto.internal.impl.PortletRequestImpl ---------------------------------------------------------------------------------------------------------------------------------------------------------
Key: PLUTO-486 URL: https://issues.apache.org/jira/browse/PLUTO-486 Project: Pluto Issue Type: Improvement Components: portlet container Affects Versions: 1.1.5 Environment: Tomcat 5.5.26 Reporter: Nikita Priority: Minor The method getAttribute() on org.apache.pluto.internal.impl.PortletRequestImpl currently handles the USER_INFO attribute as follows: if (PortletRequest.USER_INFO.equals(name)) { return createUserInfoMap(); } It would be nice if the USER_INFO data were saved into a request attribute, instead of re-creating the map every time. For example: if (PortletRequest.USER_INFO.equals(name)) { Map userInfoMap = (Map) getHttpServletRequest().getAttribute(name); if (userInfoMap == null) { userInfoMap = createUserInfoMap(); getHttpServletRequest().setAttribute(name, userInfoMap); } return userInfoMap; } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.