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(PortletRequest request)
          To access user information attributes as defined in PLT.17 of JSR-168.
 java.util.Map getUserInfo(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(PortletRequest request)
                          throws PortletContainerException
Description copied from interface: UserInfoService
To access user information attributes as defined in PLT.17 of JSR-168.

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

getUserInfo

public java.util.Map getUserInfo(PortletRequest request,
                                 PortletWindow window)
                          throws PortletContainerException
Description copied from interface: UserInfoService
Retrieve the user attribues associated with the given request and window.

Specified by:
getUserInfo in interface UserInfoService
Throws:
PortletContainerException

setUserInfo

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

removeUserInfo

public void removeUserInfo(java.lang.String userName)


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