|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.portlet.container.services.PersonDirectoryUserInfoService
public class PersonDirectoryUserInfoService
Ties the IPersonAttributeDao to the Pluto UserInfoService
| Constructor Summary | |
|---|---|
PersonDirectoryUserInfoService()
|
|
| Method Summary | |
|---|---|
protected Map<String,String> |
generateUserInfo(org.jasig.services.persondir.IPersonAttributes personAttributes,
List<org.apache.pluto.descriptors.portlet.UserAttributeDD> expectedUserAttributes,
HttpServletRequest httpServletRequest)
Using the Map of portal user attributes and a List of expected attributes generate the USER_INFO map for the portlet |
protected Map<String,String> |
generateUserInfo(Map<String,Object> portalUserAttributes)
Converts the full portal user attribute Map to a USER_INFO map for the portlet |
protected List<org.apache.pluto.descriptors.portlet.UserAttributeDD> |
getExpectedUserAttributes(HttpServletRequest request,
IPortletWindow portletWindow)
Get the list of user attributes the portlet expects |
org.jasig.services.persondir.IPersonAttributeDao |
getPersonAttributeDao()
|
IPortalRequestUtils |
getPortalRequestUtils()
|
IPortletDefinitionRegistry |
getPortletDefinitionRegistry()
|
IPortletEntityRegistry |
getPortletEntityRegistry()
|
IPortletWindowRegistry |
getPortletWindowRegistry()
|
Map<String,String> |
getUserInfo(PortletRequest request)
Deprecated. |
Map<String,String> |
getUserInfo(PortletRequest request,
org.apache.pluto.PortletWindow plutoPortletWindow)
|
protected Map<String,String> |
getUserInfo(String remoteUser,
HttpServletRequest httpServletRequest,
IPortletWindow portletWindow)
Commons logic to get a subset of the user's attributes for the specified portlet window. |
void |
setPersonAttributeDao(org.jasig.services.persondir.IPersonAttributeDao personAttributeDao)
|
void |
setPortalRequestUtils(IPortalRequestUtils portalRequestUtils)
|
void |
setPortletDefinitionRegistry(IPortletDefinitionRegistry portletDefinitionRegistry)
|
void |
setPortletEntityRegistry(IPortletEntityRegistry portletEntityRegistry)
|
void |
setPortletWindowRegistry(IPortletWindowRegistry portletWindowRegistry)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PersonDirectoryUserInfoService()
| Method Detail |
|---|
public IPortalRequestUtils getPortalRequestUtils()
public void setPortalRequestUtils(IPortalRequestUtils portalRequestUtils)
portalRequestUtils - the portalRequestUtils to setpublic IPortletEntityRegistry getPortletEntityRegistry()
public void setPortletEntityRegistry(IPortletEntityRegistry portletEntityRegistry)
portletEntityRegistry - the portletEntityRegistry to setpublic org.jasig.services.persondir.IPersonAttributeDao getPersonAttributeDao()
public void setPersonAttributeDao(org.jasig.services.persondir.IPersonAttributeDao personAttributeDao)
personAttributeDao - the personAttributeDao to setpublic IPortletWindowRegistry getPortletWindowRegistry()
public void setPortletWindowRegistry(IPortletWindowRegistry portletWindowRegistry)
portletWindowRegistry - the portletWindowRegistry to setpublic IPortletDefinitionRegistry getPortletDefinitionRegistry()
public void setPortletDefinitionRegistry(IPortletDefinitionRegistry portletDefinitionRegistry)
portletDefinitionRegistry - the portletDefinitionRegistry to set
@Deprecated
public Map<String,String> getUserInfo(PortletRequest request)
throws org.apache.pluto.PortletContainerException
getUserInfo in interface org.apache.pluto.spi.optional.UserInfoServiceorg.apache.pluto.PortletContainerException
public Map<String,String> getUserInfo(PortletRequest request,
org.apache.pluto.PortletWindow plutoPortletWindow)
throws org.apache.pluto.PortletContainerException
getUserInfo in interface org.apache.pluto.spi.optional.UserInfoServiceorg.apache.pluto.PortletContainerException
protected Map<String,String> getUserInfo(String remoteUser,
HttpServletRequest httpServletRequest,
IPortletWindow portletWindow)
throws org.apache.pluto.PortletContainerException
remoteUser - The user to get attributes for.httpServletRequest - The current, underlying httpServletRequestportletWindow - The window to filter attributes for
org.apache.pluto.PortletContainerException
protected Map<String,String> generateUserInfo(org.jasig.services.persondir.IPersonAttributes personAttributes,
List<org.apache.pluto.descriptors.portlet.UserAttributeDD> expectedUserAttributes,
HttpServletRequest httpServletRequest)
portalUserAttributes - All the attributes the portal knows about the userexpectedUserAttributes - The attributes the portlet expects to get
protected Map<String,String> generateUserInfo(Map<String,Object> portalUserAttributes)
portalUserAttributes - All the attributes the portal knows about the user
protected List<org.apache.pluto.descriptors.portlet.UserAttributeDD> getExpectedUserAttributes(HttpServletRequest request,
IPortletWindow portletWindow)
throws org.apache.pluto.PortletContainerException
request - The current request.portletWindow - The window to get the expected user attributes for.
org.apache.pluto.PortletContainerException - If expected attributes cannot be determined
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||