You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Donald Denbo <dw...@pmel.noaa.gov> on 2001/12/01 01:06:09 UTC

Access slide users and groups from WebDAV client

I'm creating a WebDAV client to allow users to manage the ACL's of their 
own files.  Since my users are expected to be fairly computer illiterate, I 
would like the ACL editing dialog to use drop downs with a list of valid 
users and groups.

How do I get access to the list of users and groups without logging in as 
root?  (I certainly don't want to have the root password embedded in the 
application!)

I'm beginning to get familiar with the webdav classes, but at this point 
the slide classes are just a little opaque.  Are the slide classes server 
only?  If not, how do you connect to a server?  Is it through a Domain.xml 
file?

Any help would be greatly appreciated.

Don

==================================================
Donald W. Denbo    dwd@pmel.noaa.gov
Ph: (206) 526-4487   Fax: (206) 526-6744
Collaborative tools: http://www.epic.noaa.gov/collab/
Netcdf Browser: http://www.epic.noaa.gov/java/ncBrowse
Scientific Java Graphics: http://www.epic.noaa.gov/java/sgt
EPIC Oceangraphic Data Management: http://www.pmel.noaa.gov/epic
==================================================


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Access slide users and groups from WebDAV client

Posted by Dirk Verbeeck <di...@pandora.be>.
Have a look at http://jakarta.apache.org/slide/architecture.html

The slide engine (share,stores directories) is running on the server.
To do client-server communication you can use the webdav protocol.
The server part is located in webdav/server and the client part in
webdav/client.
An example of a client is in
jakarta-slide\src\webdav\client\src\org\apache\webdav\cmd
or in the contrib directories.
If you are thinking of creating a webapp, you can start with the slide
taglibs.

Now for your question:
I suppose you are creating a swing application.
If you want a list of users then give read access to the /users folder
to everybody and then you can get a list of users using the propfind
method.
Try removing this permission on the /users uri: <permission
action="/actions" subject="/users/guest" inheritable="true"
negative="true"/>


Dirk

Donald Denbo wrote:
> 
> I'm creating a WebDAV client to allow users to manage the ACL's of their
> own files.  Since my users are expected to be fairly computer illiterate, I
> would like the ACL editing dialog to use drop downs with a list of valid
> users and groups.
> 
> How do I get access to the list of users and groups without logging in as
> root?  (I certainly don't want to have the root password embedded in the
> application!)
> 
> I'm beginning to get familiar with the webdav classes, but at this point
> the slide classes are just a little opaque.  Are the slide classes server
> only?  If not, how do you connect to a server?  Is it through a Domain.xml
> file?
> 
> Any help would be greatly appreciated.
> 
> Don
> 
> ==================================================
> Donald W. Denbo    dwd@pmel.noaa.gov
> Ph: (206) 526-4487   Fax: (206) 526-6744
> Collaborative tools: http://www.epic.noaa.gov/collab/
> Netcdf Browser: http://www.epic.noaa.gov/java/ncBrowse
> Scientific Java Graphics: http://www.epic.noaa.gov/java/sgt
> EPIC Oceangraphic Data Management: http://www.pmel.noaa.gov/epic
> ==================================================
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>