W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > July to September 2002

java, server-side lock/unlock resource - simple example?

From: Robert S. Koberg <rob@koberg.com>
Date: Tue, 02 Jul 2002 10:38:00 -0700
Message-ID: <3D21E4F8.1070609@koberg.com>
CC: w3c-dist-auth@w3.org


Is there a simple example of how I can lock/unlock (using java 
preferably) a resource on a server?

I have an app (content management for client sites) that has its own 
locking system which needs to tell the webdav whether a file is locked 
or not. It also needs to read whether a resource is locked or unlocked.

I also want to explain the file-system/apache structure for the app to 
see if there are any problems. All 3 views work off the same directory. 
The app has 3 views:

1. authoring or development - this is the main app accessed by 
-- using the servlet container's config to set the approot to: /sites/myapp

2. certification - a generated version of the site accessed by:

-- using the apache httpd.conf to set a
<VirtualHost *>
DocumentRoot /sites/myapp/clientsite
require group clientsite_qa

3. webdav - set to give authorized webdav access:
-- using the apache httpd.conf to set a
<Location /myapp/clientsite>
require group clientsite_webdav

Thanks for any help/advice,
Received on Tuesday, 2 July 2002 13:40:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:26 UTC