Hi Mikko

Sorry I don't have a solution for you...  I have been trying to do similar
things...  Are you now able to create users in JDBCRealm using the
Slide-Admin web-app?  At the moment I can only create a user if I actually
go into the database and insert data into 'user' and 'user-roles' manually.

If you have any tips that would be great, it seems to be quite quiet in
here!

Many thanks
Stuart


-----Original Message-----
From: Mikko H�m�l�inen [mailto:[EMAIL PROTECTED] 
Sent: 07 August 2003 08:26
To: Slide Users Mailing List
Subject: Creating groups with JDBC

Hi
I use the Tomcat/Slide for managing user permissions and files on a
project-management site. The users can have different permissions on their
own home directory and different ones for every project goup they are
members of. 

I managed to create a system where I can dynamically create user without the
need of restarting Tomcat every time a new user is created. I've done this
by configuring the Tomcat to use JDBC store as a user DB instead of the
tomcat-users.xml.

The next problem is that I must group users for setting ACL-permissions for
the whole group. I have no idea how to do this with JDBC store. With the
Domain.xml the procedure is simple with <objectnode
classname="org.apache.slide.structure.GroupNode" uri="/users/grpXXX"> (and
the example Domain.xml makes it even more simple), but I haven't been able
to find any information on how to do this with JDBC.. Should I add some
group-tables to the Tomcat's authentication DB or what.. Any
ideas/links/help appreciated.

I'd rather not use the Tomcat's roles for grouping users, since I have even
less idea what they are than I have on this JDBC store thing ;-)


Mikko H�m�l�inen

Espoon-Vantaan teknillinen ammattikorkeakoulu - EVTEK



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

Reply via email to