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 at...@apache.org on 2008/05/02 01:24:06 UTC

svn commit: r652706 - /portals/pluto/branches/2.0-spi-refactoring/pluto-container/src/main/java/org/apache/pluto/spi/optional/UserInfoService.java

Author: ate
Date: Thu May  1 16:24:05 2008
New Revision: 652706

URL: http://svn.apache.org/viewvc?rev=652706&view=rev
Log:
- dropping deprecated (and unused) method getUserInfo(PortletRequest)
- correcting/improving javadoc description of the intended purpose:
  this service should *itself* filter the user attributes against the specified user info attributes as defined in the portlet definition

Modified:
    portals/pluto/branches/2.0-spi-refactoring/pluto-container/src/main/java/org/apache/pluto/spi/optional/UserInfoService.java

Modified: portals/pluto/branches/2.0-spi-refactoring/pluto-container/src/main/java/org/apache/pluto/spi/optional/UserInfoService.java
URL: http://svn.apache.org/viewvc/portals/pluto/branches/2.0-spi-refactoring/pluto-container/src/main/java/org/apache/pluto/spi/optional/UserInfoService.java?rev=652706&r1=652705&r2=652706&view=diff
==============================================================================
--- portals/pluto/branches/2.0-spi-refactoring/pluto-container/src/main/java/org/apache/pluto/spi/optional/UserInfoService.java (original)
+++ portals/pluto/branches/2.0-spi-refactoring/pluto-container/src/main/java/org/apache/pluto/spi/optional/UserInfoService.java Thu May  1 16:24:05 2008
@@ -32,22 +32,13 @@
  *
  */
 public interface UserInfoService extends ContainerService {
-
     /**
-     * To access user information attributes as defined in PLT.17
-     * of JSR-168.
-     *
-     * @deprecated use {@link #getUserInfo(PortletRequest, PortletWindow)}
-     */
-    Map getUserInfo(PortletRequest request) throws PortletContainerException;
-
-    /**
-     * Retrieve the user attribues associated with the given
+     * Retrieve the user attribues and their values associated with the given
      * request and window. This can return null if the user associated with the
      * request is un-authenticated.
      * 
-     * The results of this call will be filtered using the the UserAttributeDDs
-     * from the PortletAppDD for the PortletWindow.
+     * The result map will contain only the named attributes as defined on the
+     * portlet definition for the PortletWindow.
      *  
      * @param request Used to extract the authenticated user name.
      * @param window The portlet window to get user attributes for.