Isn't there a wiki, so that we call all add useful info there?

Stan

At 12:46 07/08/2003 +0300, Mikko H�m�l�inen wrote:

Stuart,

I've never even tried to use those webapps ;-) .. My solution is to enter
the user-data to the DB manually, since I have yet no idea if we're going to
use an existing database for authenticating users.  This is possible because
the adding of single user directly to the db is relatively easy and doesn't
(in my experience) require restarting of neither the Slide or Tomcat. My
problems startew when I realized that I'll need to create groups dynamically
as well and I can't add them to the Domain.xml. One possibility could be to
put the group information directly to the slide's database, but I have no
idea which tables to modify and how and how does the Slide react to this..

I've seen some implementations where there are group information added to
the Tomcats JDBC user db, but none of them was for Slide.

I think that the easiest way could be to use the Tomcat's roles, I have read
that they behave like groups and one could set permissons to a role too..
Maybe this is the only way to add groups dynamically, since I havent seen
anybody using any other way.

It is a shame that a software this usefull and working this well isn't
documented any better.. It took me weeks to learn how to configure these
programs to suit my needs and from time to time I still find some
configuration examples which aren't explained anywhere..

Cheers

Mikko H�m�l�inen

----- Original Message -----
From: "Stuart MacPherson" <[EMAIL PROTECTED]>
To: "'Slide Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, August 07, 2003 12:08 PM
Subject: RE: Creating groups with JDBC


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]


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



---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.507 / Virus Database: 304 - Release Date: 04/08/2003
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.507 / Virus Database: 304 - Release Date: 04/08/2003

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

Reply via email to