Re: Users,Passwords,Groups and ACLs

2004-03-25 Thread Alan Wood
Hi Russell

I had this same question, couldnt find an answer so decided to take it on 
my self to develop such a thing. I am currently in the middle of it but am 
certainly willing to share it with anyone in the community and commit it 
if its deemed useful good enough. I am also trying to keep it as seperate 
from my application as possible to enable it to be used by others, but 
some work (help) may be required. As soon as it's fit to show anyone else 
I will let you know.

PS thanks to Andrey for his help on this also, it was his code that 
sparked me off in this direction

Al

Hi,

Is there any usable client (preferrably a gui client) for performing 
management functions on slide
  - handling users,passwords, groups etc
  - setting up ACLs

Without such a client, slide is like an automobile with no steering 
wheel.

Didn't slide once have a management servlet?

Does anyone know the correct syntax for specifying properties (not in 
the DAV: namespace) in the commandline
client?

From looking at the source code property xmlns=namespace seems to be 
the syntax.
propget accepts this syntax but propput chokes on it. So I can't even 
set passwords
with the commandline client.

I managed to set passwords with SkunkDav, but assigning users to groups 
seems totally
beyond SkunkDav and the commandline client (neither can even display the 
group-member-set properly).

I have some proposals for additions and corrections to the Slide 
Documentation :-).
Is anyone interested?

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


--

[EMAIL PROTECTED]

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


Search DAV:like

2004-03-25 Thread Juan Andr?s Bentancour

Hi all,

I?ve implemented a searchMethod() method in a WebdavResource subclass. (thanks
Ingo). a first version is:

public Enumeration searchMethod(HttpURL httpURL, String queryXML) 
throws HttpException, IOException {

setClient();
SearchMethod sm = 
new SearchMethod(httpURL.getEscapedPath(), queryXML);

super.client.executeMethod(sm);
Enumeration responseUrls = sm.getAllResponseURLs();
  
System.out.println(sm.getStatusCode() + 
   sm.getStatusText() + 
   sm.getStatusLine());
return responseUrls;
}


Now, I have another problem.  I need to use LIKE operator when I search for
properties values. For example: Retrieve all images files:

D:searchRequest xmlns:D=DAV:
  D:basicSearch
D:select
  D:prop
D:getcontenttype /
  /D:prop
/D:select
D:from
  D:scope
D:href/slide/files/Destinos/ImagenesSatelitales/D:href
D:depthinfinity/D:depth
  /D:scope
/D:from
D:where
  D:like
D:prop
  D:getcontenttype /
/D:prop
D:literalimage%/D:literal
  /D:like
/D:where
  /D:basicSearch
/D:searchRequest


Status code: 422 Unprocessable Entity HTTP/1.1 

(from http://www.webdav.org/dasl/protocol/draft-dasl-protocol-00.html
422 Unprocessable entity. The query could not be executed. If a text/xml
request entity was provided, then it may have been valid (well-formed) but
may have contained an unsupported or unimplemented query operator. )

If I use EQ instead of LIKE all works properly.

Is LIKE operator implemented in Slide ? 

How could I implement it ?  Has anyone already done it ? 

thanks in advance,


--
Juan Andres Bentancour













E-mail y acceso a Internet UltraVeloz totalmente GRATIS en Buenos Aires,
Rosario, Cordoba, Mendoza, La Plata y Pilar
http://www.Argentina.com 
Nro. de acceso 5078-5000 Usuario: Argentina Password: Argentina



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



Re: Search DAV:like

2004-03-25 Thread Julian Reschke
Juan Andr?s Bentancour wrote:
...
(from http://www.webdav.org/dasl/protocol/draft-dasl-protocol-00.html
...
Hi,

I'm not familiar with Slide, so I can't answer that question. The query 
itself looks fine.

Also note that the current draft for DASL is here:

http://greenbytes.de/tech/webdav/draft-reschke-webdav-search-latest.html

Regards, Julian

--
green/bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Slide 1.0.16 Question

2004-03-25 Thread Peder Nordvaller
Hello,

I realize Slide 1.0.16 is outdated and isn't really supported any more, but
as I have a system running with it as a base and don't have the time to
update at the moment I have a quick question about it, if anyone have the
time to answer: If I have files in a FileContentStore, is there any way to
retrieve the actual path to a certain nodes content, if I would like to
access the files data without going through Slide?

Thankful for any hints (even references to where in the code the translation
between node-path and actual content is done so I can modify it myself to
achieve this).

Sincerely, Peder



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



Re: Search DAV:like

2004-03-25 Thread Juan Andrés Bentancour
El jue, 25-03-2004 a las 18:27, Julian Reschke escribió:
 Juan Andr?s Bentancour wrote:
  ...
  (from http://www.webdav.org/dasl/protocol/draft-dasl-protocol-00.html
  ...
 
 Hi,
 
 I'm not familiar with Slide, so I can't answer that question. The query 
 itself looks fine.
 
:(

 Also note that the current draft for DASL is here:
 
 http://greenbytes.de/tech/webdav/draft-reschke-webdav-search-latest.html

...
5.5.2  Handling Optional operators 
If a query contains an operator that is not supported by the server,
then the server MUST respond with a 422 (Unprocessable Entity) status
code. 


DASL defines LIKE operator, but we dont have an implementation (LIKE is
an optional operator). I have no idea where to start.   any help would be
appreciated !

Regards,


-- 
Juan Andrés Bentancour [EMAIL PROTECTED]


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