org.apache.pluto.spi.optional
Interface UserInfoService

All Superinterfaces:
ContainerService
All Known Subinterfaces:
UserInfoAttributesService
All Known Implementing Classes:
DefaultUserInfoService

public interface UserInfoService
extends ContainerService

Used to access user information attributes as described in PLT.17.2 of the JSR-168 specificiation. Attribute persistence is not covered by the spec so it is not done here.


Method Summary
 Map getUserInfo(PortletRequest request)
          Deprecated. use getUserInfo(PortletRequest, PortletWindow)
 Map getUserInfo(PortletRequest request, PortletWindow window)
          Retrieve the user attribues associated with the given request and window.
 

Method Detail

getUserInfo

Map getUserInfo(PortletRequest request)
                throws PortletContainerException
Deprecated. use getUserInfo(PortletRequest, PortletWindow)

To access user information attributes as defined in PLT.17 of JSR-168.

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

Map getUserInfo(PortletRequest request,
                PortletWindow window)
                throws PortletContainerException
Retrieve the user attribues associated with the given request and window.

Throws:
PortletContainerException


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