Hi all,

I thought it would be a matter of configuration, but I am struggling to
figure out how to do it without Jetspeed generating user profile 
based on role profile.

I have a role with layout defined in a psml file.

I create a new user and assign it this single role.  When new user
logs in, Jetspeed dynamically creates user profile by cloning role profile 
with generated by Jetspeed new unique portlet IDs for all portlets
and panes based on items defined in profile of the role assigned to the user 
at creation time.

If the setting 
automatic.logout.save = true|false
is set to true, at logout time this cloned user profile is save as 
psml file for this user.  In case it is set to false, user profile
is not save and is dynamically generated next time user logs in.

If for the logged in user I specify a browser link referencing a pane 
that is a link for the profile of the role, Jetspeed generates page based
on the role profile with all links on the page using role profile
IDs for panes and portlets that I define.  I would like this to happen
right after user logged in.

I went through source code in JetspeedProfilerService class and it appears 
to be that user profile is cloned from role profile with re-generation
of unique IDs.  It looks like it is the only way to support rolemerge
feature, but in my case I am going to use single role per user without
a need for user to customize layout.

Does somebody know if it is possible to achieve role based profile
usage at login time and avoid Jetspeed cloning user profile from 
role profile and operating on dynamically generated user profile 
after login?

Any advise will be greatly appreciated.

My settings in JetspeedResources.properties that were changed 
from defaults:
----------------------------------------------------
# Profiler Fallback options
# use Role-based PSML fallback
services.Profiler.rolefallback=true
...
# Profiler Role-based merge fallback options
# When rolefallback is true and rolemerge is true, new user's profile will 
# be an aggregate of psml from each role the user is part of.
services.Profiler.rolemerge=false
# When a new user is created, this account's psml is cloned to the new account psml
# Setting this account to nothing configures role-based psml as the default method for 
new users
services.Profiler.newuser.template=
...
----------------------------------------------------

Thank you,
Alex Kadyshevich







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to