org.apache.pluto.core
Class DefaultUserInfoService

java.lang.Object
  extended by org.apache.pluto.core.DefaultUserInfoService
All Implemented Interfaces:
ContainerService, UserInfoService

public class DefaultUserInfoService
extends java.lang.Object
implements UserInfoService

UserInfo


Constructor Summary
DefaultUserInfoService()
           
 
Method Summary
 java.util.Map getUserInfo(javax.portlet.PortletRequest request)
          Deprecated.  
 java.util.Map getUserInfo(javax.portlet.PortletRequest request, PortletWindow window)
          Retrieve the user attribues associated with the given request and window.
 void removeUserInfo(java.lang.String userName)
           
 void setUserInfo(java.lang.String userName, java.util.Map userInfoMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultUserInfoService

public DefaultUserInfoService()
Method Detail

getUserInfo

public java.util.Map getUserInfo(javax.portlet.PortletRequest request)
                          throws PortletContainerException
Deprecated. 

Description copied from interface: UserInfoService
To access user information attributes as defined in PLT.17 of JSR-168.

Specified by:
getUserInfo in interface UserInfoService
Throws:
PortletContainerException

getUserInfo

public java.util.Map getUserInfo(javax.portlet.PortletRequest request,
                                 PortletWindow window)
                          throws PortletContainerException
Description copied from interface: UserInfoService
Retrieve the user attribues 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.

Specified by:
getUserInfo in interface UserInfoService
Parameters:
request - Used to extract the authenticated user name.
window - The portlet window to get user attributes for.
Returns:
A map of names and values of user information attributes for a particular authenticated user. null if the user is not authenticated.
Throws:
PortletContainerException

setUserInfo

public void setUserInfo(java.lang.String userName,
                        java.util.Map userInfoMap)

removeUserInfo

public void removeUserInfo(java.lang.String userName)


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.