J2 Profiler, was: Re: Jetspeed2 M1 security setup

2004-12-16 Thread Randy Watler
Doug Schnelzer wrote: Randy, Thanks for the guidance. Putting the login portlet in a plain page in the guest directory and protecting everything else works well. In the future, it would be nice to dynamically show/hide portlets on a page based on a user's role. It is definitely under consideratio

RE: Jetspeed2 M1 security setup

2004-12-16 Thread Doug Schnelzer
layout? Thanks very much, Doug -Original Message- From: Randy Watler [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 15, 2004 7:04 PM To: Jetspeed Users List Subject: Re: Jetspeed2 M1 security setup Ate Douma wrote: > > Randy Watler wrote: > >> Doug, >> >&

Re: Jetspeed2 M1 security setup

2004-12-15 Thread Randy Watler
Ate Douma wrote: Randy Watler wrote: Doug, Portlet level security constraints are apparently the responsibility of the portlet writer to implement, so the portal and portlet container will always display the portlet. We just received clarification on this from the pluto mail list: http://nagoya

Re: Jetspeed2 M1 security setup

2004-12-15 Thread Ate Douma
to:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 4:35 PM To: Jetspeed Users List Subject: RE: Jetspeed2 M1 security setup Randy, thanks a lot for your help! I was able to setup a basic access control to my portlet's view and Edit mode. I do have more questions on the user management

Re: Jetspeed2 M1 security setup

2004-12-15 Thread Randy Watler
MAIL PROTECTED] Sent: Monday, December 13, 2004 4:35 PM To: Jetspeed Users List Subject: RE: Jetspeed2 M1 security setup Randy, thanks a lot for your help! I was able to setup a basic access control to my portlet's view and Edit mode. I do have more questions on the user management in J2, though

RE: Jetspeed2 M1 security setup

2004-12-15 Thread Doug Schnelzer
om: Marina [mailto:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 4:35 PM To: Jetspeed Users List Subject: RE: Jetspeed2 M1 security setup Randy, thanks a lot for your help! I was able to setup a basic access control to my portlet's view and Edit mode. I do have more questions on the user man

Re: Jetspeed2 M1 security setup

2004-12-15 Thread Marina
Yes, it did work! The original SQL query did not work right away, so I looked more closely into the DB schema and guessed that I should be using the '/role' node's node_id as the 'parent_node_id' (204). That was a lucky guess and the following query worked fine: INSERT INTO PREFS_NODE VALUES(200,

Re: Jetspeed2 M1 security setup

2004-12-15 Thread David Le Strat
Marina, If you are doing this manually, you also need to set up the role hierarchy manager. In SQL terms, this means something like this: INSERT INTO PREFS_NODE VALUES(200,196,'dce-admin-role',0,'/role/dce-admin-role','2004-05-22 16:27:12.472','2004-05-22 16:27:12.472'); You can also use the Ro

Re: Jetspeed2 M1 security setup

2004-12-15 Thread Marina
Thanks, Randy, I tried adding the new role directly into the HSQL DB like this: INSERT INTO SECURITY_PRINCIPAL VALUES(15,'org.apache.jetspeed.security.JetspeedRolePrincipalImpl',0,1,'/role/dce-admin-role','2004-12-15 16:27:12.572','2004-12-15 16:27:12.572'); I ran this sql query directly on the H

Re: Jetspeed2 M1 security setup

2004-12-13 Thread Randy Watler
Marina, There you have it, (thanks David). It is a simple matter to add users, roles, groups, etc. directly to the DB in the interim. See one of the following scripts: CVS - src/sql/populate-userinfo-for-default-psml.sql CVS - src/sql//populate-userinfo-for-default-psml.sql M1 - jetspeed-databas

RE: Jetspeed2 M1 security setup

2004-12-13 Thread David Le Strat
IL PROTECTED]> wrote: > > > Marina, > > > > Thanks for using the jetspeed user list! > > > > Comments below. > > > > Randy > > > > >-Original Message- > > >From: Marina > > >To: 'Jetspeed Users List 

RE: Jetspeed2 M1 security setup

2004-12-13 Thread Marina
na, > > Thanks for using the jetspeed user list! > > Comments below. > > Randy > > >-Original Message- > >From: Marina > >To: 'Jetspeed Users List ' > >Sent: 12/6/04 5:06 PM > >Subject: RE: Jetspeed2 M1 security setup (was: > jets

RE: Jetspeed2 M1 security setup (was: jetspeed-newbie Roles-Group s-Users)

2004-12-06 Thread Randy Watler
Marina, Thanks for using the jetspeed user list! Comments below. Randy >-Original Message- >From: Marina >To: 'Jetspeed Users List ' >Sent: 12/6/04 5:06 PM >Subject: RE: Jetspeed2 M1 security setup (was: jetspeed-newbie Roles-Groups-Users)> > >Hi

RE: Jetspeed2 M1 security setup (was: jetspeed-newbie Roles-Groups-Users)

2004-12-06 Thread Marina
Hi, I've successfully built and installed J2 M1 and was looking into the demo applications to figure out how to setup access control for portlets/pages. After checking out some example portlets , like RoleSecurityTest and Login, and their source code, I think I have some idea of how to approach