Message:
The following issue has been closed.
Resolver: David Le Strat
Date: Sat, 29 May 2004 2:52 PM
This feature has been implemented. The implementation follows 2 steps:
1. Parse the portlet.xml to grab the user attributes declared for a portlet. This is
done in org.apache.jetspeed.tools.pamanager.PortletDescriptorUtilities
2. Persist the portlet attributes to the registry upon deployment.
3. Map the user-attributes to the user profile properties. This is done on a portlet
application basis by mapping the user profile preferences (see import
org.apache.jetspeed.security.User) with the user-attributes declared for the specific
portlet application.
The component performing that mapping is org.apache.jetspeed.userinfo.UserInfoManager.
The Map return by UserInfoManager getUserInfoMap(ObjectID oid, RequestContext context)
is then made available to the request in
org.apache.jetspeed.engine.servlet.ServletRequestImpl getAttribute(String name).
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/JS2-20
Here is an overview of the issue:
---------------------------------------------------------------------
Key: JS2-20
Summary: Portlet user attribute support.
Type: New Feature
Status: Closed
Priority: Major
Resolution: FIXED
Project: Jetspeed 2
Components:
Other
Versions:
2.0-a1
Assignee: David Le Strat
Reporter: David Le Strat
Created: Fri, 23 Apr 2004 12:50 PM
Updated: Sat, 29 May 2004 2:52 PM
Description:
PLT.17.1 Defining User Attributes leveraging preferences component.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]