Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.1.5
-
None
-
Tomcat 5.5.26
Description
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)
return userInfoMap;
}