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 Asif Jan <as...@cern.ch> on 2003/04/08 11:08:54 UTC

How to override default roles in jetspeed

Hi,
I am a new user to jetspeed and have started a portal project using this
technology.

One thing that I need to do , is to use the role based site layout instead
of user based layout.

But I do not want to use the default database poplated  with default roles
and users , as users to my system are authenticated using an external
process.

I failed to figure out where in the security process roles are assigned to
logging in users ?

How can I have roles say R1 , R2
without having them entered in db .. and be able to set roles for logging in
users ..
so that psml files is role/R1 and role/R2 are used for site layout

P.S can someone tell me sequence of security procedure for jetseed ie
starting from when a user types his/her username/pwd till his/her site
layiut is rendered

Thanks in advance,
Asif


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


Re: How to override default roles in jetspeed

Posted by David Sean Taylor <da...@bluesunrise.com>.
On Tuesday, April 8, 2003, at 02:08  AM, Asif Jan wrote:

> Hi,
> I am a new user to jetspeed and have started a portal project using 
> this
> technology.
>
> One thing that I need to do , is to use the role based site layout 
> instead
> of user based layout.
>
> But I do not want to use the default database poplated  with default 
> roles
> and users , as users to my system are authenticated using an external
> process.
>

Implement your own Security service. One option for you may be to 
extend the default service to override the RoleManagement interface 
methods.
See the documentation on the website: 
http://jakarta.apache.org/jetspeed/site/security.html


> I failed to figure out where in the security process roles are 
> assigned to
> logging in users ?
>
Its a part of the configuration. See the JS.p

# Role(s) to assign to new user.  Multiple Role must be comma separated.
services.JetspeedSecurity.newuser.roles=user

> How can I have roles say R1 , R2
> without having them entered in db .. and be able to set roles for 
> logging in
> users ..
> so that psml files is role/R1 and role/R2 are used for site layout
>
Again part of the configuration. See the JR.p:

# 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=turbine

#
# Profiler Fallback options
#
# use Role-based PSML fallback
services.Profiler.rolefallback=true

and

#
# 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

# Controller to use in merged profile
services.Profiler.rolemerge.controller=TabController

# Control to use in merged profile
services.Profiler.rolemerge.control=TabControl

> P.S can someone tell me sequence of security procedure for jetseed ie
> starting from when a user types his/her username/pwd till his/her site
> layiut is rendered
>
> Thanks in advance,
> Asif
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>
>

--
David Sean Taylor
Bluesunrise Software
david@bluesunrise.com
+01 707 773-4646




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