On Dec 14, 2007, at 10:01 AM, David Sean Taylor wrote:
On Dec 13, 2007, at 12:45 AM, cherry coke wrote:
I´m trying that every user of the jetspeed portal can customize
his home page. I mean that after the user authenticates
(validates) he acceds to his own portal page, where he can add new
portlets.
If you authenticate against LDAP ¿Does jetspeed create the folders
(where the psml files are stored) for the new user (rol)?
Both the Registration portlet and User Details portlet have
preferences for auto-creating home pages for new users based on two
prefs:
1. the profiling rule
2. the template directory
In the default distribution, this feature is turned off
If you are creating users with the User Details portlet, try:
<preference>
<name>defaultProfile</name>
<value>user-role-fallback</value>
</preference>
<preference>
<name>newUserTemplateDirectory</name>
<value>/_user/template</value>
</preference>
you can also preconfigure users with j2-seed.xml and setup the
profiling rule and template
Here is a new feature in the pipelines.xml:
<!--
To create a new page when a user first logs in from their roles,
add this valve after each profilerValve entry in the pipeline
configs
below
-->
<bean id="createPageValve"
class="org.apache.jetspeed.profiler.impl.CreatePageValveImpl"
>
<constructor-arg index="0">
<ref bean="PortletActionSecurityBehavior" />
</constructor-arg>
</bean>
<!--
To create new pages when a user first logs in from user
template pages,
add this valve after each profilerValve entry in the pipeline
configs
below
-->
<bean id="createUserTemplatePagesValve"
class="org.apache.jetspeed.profiler.impl.CreateUserTemplatePagesValveImp
l"
>
I think in the future, features like this should be always hooked in
but enabled/disabled at runtime