|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserInfoManager
The UserInfoManager
retrieve the Map that will be set as a
(PortletRequest.USER_INFO
request attribute for a specific
portlet application
The portlet specification defines user info as follow (PLT 17):
Portlets can obtain an unmodifiable Map object containing the user attributes, of user associated with the current request, from the request attributes. The Map object can be retrieved using the USER_INFO constant defined in the PortletRequest interface. If the request is done in the context of an un-authenticated user, calls to the getAttribute method of the request using the USER_INFO constant must return null. If the user is authenticated and there are no user attributes available, the Map must be an empty Map. The Map object must contain a String name value pair for each available user attribute. The Map object should only contain user attributes that have been mapped during deployment.
Portlets can obtain an unmodifiable Map object containing the user attributes, of user associated with the current request, from the request attributes. The Map object can be retrieved using the USER_INFO constant defined in the PortletRequest interface. If the request is done in the context of an un-authenticated user, calls to the getAttribute method of the request using the USER_INFO constant must return null. If the user is authenticated and there are no user attributes available, the Map must be an empty Map. The Map object must contain a String name value pair for each available user attribute. The Map object should only contain user attributes that have been mapped during deployment.
Method Summary | |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getUserInfoMap(java.lang.String appName,
RequestContext context)
Provide the user info map of user attributes for a given portlet application. |
Methods inherited from interface org.apache.pluto.container.UserInfoService |
---|
getUserInfo |
Method Detail |
---|
java.util.Map<java.lang.String,java.lang.String> getUserInfoMap(java.lang.String appName, RequestContext context)
Provide the user info map of user attributes for a given portlet application.
oid
- The portlet application object id.context
- The request context.
PortletRequest.USER_INFO
map.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |