You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Sunil Sheshadri <ss...@cisco.com> on 2004/07/14 11:12:36 UTC

Role Based PSML

Hi,
Has anyone tried role based psml. Basically this is what i want.
 
When ever a new user logs in, i need to clone his PSML with his role's psml
only for the first time only. This is not happening. I have new user logging
in as USER role but once he logs in, i don't see any entry for this user in
JETSPEED_USER_PROFILE. 
I did the following changes in JetspeedResources.properties files
#services.Profiler.newuser.template=turbine
 
# Media types template to create for user. (comma separated)
services.Profiler.newuser.media_types=html,wml
#
# Profiler Fallback options
#
# use Role-based PSML fallback
services.Profiler.rolefallback=true
 
But still it is not working. I also tried
services.Profiler.newuser.template=
 
Any suggestions why is is not inserting record in jetspeed_user_profile
table?
 
Regards,
Sunil.
 

RE: Role Based PSML

Posted by Bob Fleischman <bo...@mindspring.com>.
I'm a bit confused.

1. You create a new user - at this point his PSML is created based upon the
template

2. You assign a user to a role.

Where do you want to change the users PSML??

What is the business problem you are trying to solve??

Bob

-----Original Message-----
From: Sunil Sheshadri [mailto:ssheshad@cisco.com] 
Sent: Wednesday, July 14, 2004 5:34 AM
To: 'Jetspeed Users List'; stefan.kuhn@uni-koeln.de
Subject: RE: Role Based PSML

Thanks Stefan for the reply,
Can I know what needs to be done exactly for CreateNewUserAndConfirm ? Where
to change? Is it Java change or properties file change?
Can you please send me code snippet if any that would be helpful.

Thanks & Regards,
Sunil.


-----Original Message-----
From: Stefan Kuhn [mailto:stefan.kuhn@uni-koeln.de] 
Sent: Wednesday, July 14, 2004 3:11 PM
To: Jetspeed Users List
Subject: Re: Role Based PSML


I think this is a misunderstanding about what role-based psml means. 
Role-based psml means that there are no individual psmls, but the psmls of 
his role(s) are used and can not be changed by the user (not sure what's 
happening if a user has got multiple rows). What you want is not possible in

Jetspeed by default. You would need to change CreateNewUserAndConfirm to 
assign the initial psml based on role, which should not be to hard. Stefan


Am Wednesday 14 July 2004 11:12 schrieb Sunil Sheshadri:
> Hi,
> Has anyone tried role based psml. Basically this is what i want.
>
> When ever a new user logs in, i need to clone his PSML with his role's 
> psml only for the first time only. This is not happening. I have new 
> user logging in as USER role but once he logs in, i don't see any 
> entry for this user in JETSPEED_USER_PROFILE. I did the following 
> changes in JetspeedResources.properties files 
> #services.Profiler.newuser.template=turbine
>
> # Media types template to create for user. (comma separated) 
> services.Profiler.newuser.media_types=html,wml
> #
> # Profiler Fallback options
> #
> # use Role-based PSML fallback services.Profiler.rolefallback=true
>
> But still it is not working. I also tried 
> services.Profiler.newuser.template=
>
> Any suggestions why is is not inserting record in 
> jetspeed_user_profile table?
>
> Regards,
> Sunil.

-- 
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zülpicher Str. 47, 50674 Cologne
Tel: +49(0)221-470-7428   Fax: +49 (0) 221-470-7786
My public PGP key is available at http://pgp.mit.edu


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


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




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


RE: Role Based PSML

Posted by Sunil Sheshadri <ss...@cisco.com>.
Thanks Stefan for the reply,
Can I know what needs to be done exactly for CreateNewUserAndConfirm ? Where
to change? Is it Java change or properties file change?
Can you please send me code snippet if any that would be helpful.

Thanks & Regards,
Sunil.


-----Original Message-----
From: Stefan Kuhn [mailto:stefan.kuhn@uni-koeln.de] 
Sent: Wednesday, July 14, 2004 3:11 PM
To: Jetspeed Users List
Subject: Re: Role Based PSML


I think this is a misunderstanding about what role-based psml means. 
Role-based psml means that there are no individual psmls, but the psmls of 
his role(s) are used and can not be changed by the user (not sure what's 
happening if a user has got multiple rows). What you want is not possible in

Jetspeed by default. You would need to change CreateNewUserAndConfirm to 
assign the initial psml based on role, which should not be to hard. Stefan


Am Wednesday 14 July 2004 11:12 schrieb Sunil Sheshadri:
> Hi,
> Has anyone tried role based psml. Basically this is what i want.
>
> When ever a new user logs in, i need to clone his PSML with his role's 
> psml only for the first time only. This is not happening. I have new 
> user logging in as USER role but once he logs in, i don't see any 
> entry for this user in JETSPEED_USER_PROFILE. I did the following 
> changes in JetspeedResources.properties files 
> #services.Profiler.newuser.template=turbine
>
> # Media types template to create for user. (comma separated) 
> services.Profiler.newuser.media_types=html,wml
> #
> # Profiler Fallback options
> #
> # use Role-based PSML fallback services.Profiler.rolefallback=true
>
> But still it is not working. I also tried 
> services.Profiler.newuser.template=
>
> Any suggestions why is is not inserting record in 
> jetspeed_user_profile table?
>
> Regards,
> Sunil.

-- 
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zülpicher Str. 47, 50674 Cologne
Tel: +49(0)221-470-7428   Fax: +49 (0) 221-470-7786
My public PGP key is available at http://pgp.mit.edu


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


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


Re: Role Based PSML

Posted by Stefan Kuhn <st...@uni-koeln.de>.
I think this is a misunderstanding about what role-based psml means. 
Role-based psml means that there are no individual psmls, but the psmls of 
his role(s) are used and can not be changed by the user (not sure what's 
happening if a user has got multiple rows). What you want is not possible in 
Jetspeed by default. You would need to change CreateNewUserAndConfirm to 
assign the initial psml based on role, which should not be to hard.
Stefan


Am Wednesday 14 July 2004 11:12 schrieb Sunil Sheshadri:
> Hi,
> Has anyone tried role based psml. Basically this is what i want.
>
> When ever a new user logs in, i need to clone his PSML with his role's psml
> only for the first time only. This is not happening. I have new user
> logging in as USER role but once he logs in, i don't see any entry for this
> user in JETSPEED_USER_PROFILE.
> I did the following changes in JetspeedResources.properties files
> #services.Profiler.newuser.template=turbine
>
> # Media types template to create for user. (comma separated)
> services.Profiler.newuser.media_types=html,wml
> #
> # Profiler Fallback options
> #
> # use Role-based PSML fallback
> services.Profiler.rolefallback=true
>
> But still it is not working. I also tried
> services.Profiler.newuser.template=
>
> Any suggestions why is is not inserting record in jetspeed_user_profile
> table?
>
> Regards,
> Sunil.

-- 
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zülpicher Str. 47, 50674 Cologne
Tel: +49(0)221-470-7428   Fax: +49 (0) 221-470-7786
My public PGP key is available at http://pgp.mit.edu


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