You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-scm@portals.apache.org by cd...@apache.org on 2007/07/04 15:54:19 UTC

svn commit: r553211 - /portals/pluto/branches/pluto-1.1.x/pluto-container/src/main/java/org/apache/pluto/internal/impl/PortletRequestImpl.java

Author: cdoremus
Date: Wed Jul  4 06:54:18 2007
New Revision: 553211

URL: http://svn.apache.org/viewvc?view=rev&rev=553211
Log:
Applied PLUTO-388 patch and other trunk differences. Thank you Marc Veary for the patch!

Modified:
    portals/pluto/branches/pluto-1.1.x/pluto-container/src/main/java/org/apache/pluto/internal/impl/PortletRequestImpl.java

Modified: portals/pluto/branches/pluto-1.1.x/pluto-container/src/main/java/org/apache/pluto/internal/impl/PortletRequestImpl.java
URL: http://svn.apache.org/viewvc/portals/pluto/branches/pluto-1.1.x/pluto-container/src/main/java/org/apache/pluto/internal/impl/PortletRequestImpl.java?view=diff&rev=553211&r1=553210&r2=553211
==============================================================================
--- portals/pluto/branches/pluto-1.1.x/pluto-container/src/main/java/org/apache/pluto/internal/impl/PortletRequestImpl.java (original)
+++ portals/pluto/branches/pluto-1.1.x/pluto-container/src/main/java/org/apache/pluto/internal/impl/PortletRequestImpl.java Wed Jul  4 06:54:18 2007
@@ -82,12 +82,12 @@
     /**
      * The parent container within which this request was created.
      */
-    private final PortletContainer container;
+    private PortletContainer container;
 
     /**
      * The portlet window which is the target of this portlet request.
      */
-    private final InternalPortletWindow internalPortletWindow;
+    private InternalPortletWindow internalPortletWindow;
 
     /**
      * The PortletContext associated with this Request. This PortletContext must
@@ -98,7 +98,7 @@
     /**
      * The PortalContext within which this request is occuring.
      */
-    private final PortalContext portalContext;
+    private PortalContext portalContext;
 
     /**
      * The portlet session.
@@ -439,7 +439,10 @@
                 .getPortletApplicationDescriptor(internalPortletWindow.getContextPath());
 
             Map allMap = container.getOptionalContainerServices()
-                .getUserInfoService().getUserInfo(this);
+            	//PLUTO-388 fix:
+            	//The PortletWindow is currently ignored in the implementing class
+            	// See: org.apache.pluto.core.DefaultUserInfoService
+            	.getUserInfoService().getUserInfo( this, this.internalPortletWindow );
 
             Iterator i = dd.getUserAttributes().iterator();
             while(i.hasNext()) {