portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Sean Taylor (JIRA)" <jetspeed-...@jakarta.apache.org>
Subject [jira] Commented: (JS2-198) Portlets don't use user-specific preferences. The Portlet Preferences for anon user are always used.
Date Thu, 20 Jan 2005 17:31:18 GMT
     [ http://issues.apache.org/jira/browse/JS2-198?page=comments#action_57844 ]
David Sean Taylor commented on JS2-198:

With the current implemention, in order to get user-specific preferences, you need to put
the page under the user's directory. I believe this is sometimes the desired behavior, as
it clearly defines how preferences are shared over the folder, page hieararchy. Prefs are
identified by the instance on a given page. This leads to prefs being shared in common pages.
I can also see where we would want prefs to be shared in a common page on a per user basis.
But I don't really see this as a bug, but more of an enhancement since the spec does not address
the concept of pages in jetspeed.

> Portlets don't use user-specific preferences. The Portlet Preferences for anon user are
always used.
> ----------------------------------------------------------------------------------------------------
>          Key: JS2-198
>          URL: http://issues.apache.org/jira/browse/JS2-198
>      Project: Jetspeed 2
>         Type: Bug
>   Components: Portlet Entities and Preferences
>  Environment: jdk 1.4.2_03, win2000, tomcat-5.0.30
>     Reporter: Artem Grinshtein

> Portlets don't use user-specific preferences. For example, the Bookmarks Portlet on default.psml
always use preferences for anon user. The Portlet reads and writes PortletPreferences  from/to
the table PREFS_NODE with FULL_PATH=/portlet_entity/db-18/no-principal for authenticated and
not authenticated users.
> It seems that PortletRendererImpl and JetspeedPowerTool don't pass the user principal
to the PortletWindowAccessor. PortletWindowAccessor.validateWindow has to pass the principal
to PortletEntityAccessComponent too.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org

View raw message