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 dd...@apache.org on 2007/03/06 03:25:02 UTC

svn commit: r514959 - /portals/pluto/branches/pluto-1.1.x/pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/services/impl/UserInfoAttributesServiceImpl.java

Author: ddewolf
Date: Mon Mar  5 18:25:01 2007
New Revision: 514959

URL: http://svn.apache.org/viewvc?view=rev&rev=514959
Log:
Oops, missed one

Modified:
    portals/pluto/branches/pluto-1.1.x/pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/services/impl/UserInfoAttributesServiceImpl.java

Modified: portals/pluto/branches/pluto-1.1.x/pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/services/impl/UserInfoAttributesServiceImpl.java
URL: http://svn.apache.org/viewvc/portals/pluto/branches/pluto-1.1.x/pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/services/impl/UserInfoAttributesServiceImpl.java?view=diff&rev=514959&r1=514958&r2=514959
==============================================================================
--- portals/pluto/branches/pluto-1.1.x/pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/services/impl/UserInfoAttributesServiceImpl.java (original)
+++ portals/pluto/branches/pluto-1.1.x/pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/services/impl/UserInfoAttributesServiceImpl.java Mon Mar  5 18:25:01 2007
@@ -27,6 +27,7 @@
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.pluto.PortletContainerException;
+import org.apache.pluto.PortletWindow;
 import org.apache.pluto.spi.optional.UserInfoAttributesService;
 import org.apache.pluto.spi.optional.P3PAttributes;
 
@@ -104,7 +105,12 @@
 		return map;
 	}
 
-	private static void loadProperties() throws IOException {
+
+    public Map getUserInfo(PortletRequest request, PortletWindow window) throws PortletContainerException {
+        return getUserInfo(request);
+    }
+
+    private static void loadProperties() throws IOException {
 	    //get the properties from prop file
 		if (props.isEmpty()) {
 		    InputStream stream = UserInfoAttributesServiceImpl.class.getResourceAsStream(USER_INFO_ATTR_FILE);