Re: AW: AW: Using WebDAV in Tomcat 7.0.45

2016-11-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Arno,

On 11/11/16 10:08 AM, Arno Schäfer wrote:
> Hi André,
> 
> many thanks for your thought's, but my requirement is not so
> complex and difficult like it could be.
> 
>> DAV (or WebDAV), in itself, stands for Distributed Authoring and
>> Versioning. It was originally designed mainly as a tool to help
>> people to remotely edit the HTML pages of a website, and be able
>> to do so using the same HTTP connection which is already used by
>> the website itself (thus avoiding separate connections via FTP,
>> SFTP, SCP etc. and the corresponding user access and permissions
>> setup). But in itself, DAV does not have all the features which
>> are needed to do this in a safe, multi-user scenario.
> 
> It is a big internal and 15 year old webserver, where I want to
> implement exactly this purpose, what you are talking about. DAV
> should be used instead of share's, like it is today. This service
> is only used internally and will never become a public service, so
> from the security site I have no such strange requirements.
> Parallel access for writing will be solved with a simple locking
> mechanism, because it is relatively seldom, that more than one
> person work on the same item and then it is acceptable, that the
> first owner blocks the file til he is ready.
> 
> At least I have tried a little bit around to make our client
> (written in Java) able to send DAV request, but this failed til
> now, because it seems, that I have to write my own '
> DavURLConnection', because the 'HttpURLConnection' can't handle the
>  additional requests. Do you know, if some Java library for DAV
> clients exist. I haven't found any lightweight solution til now. To
> get the data and edit them, it is very strait forward and works
> fine for me :-)

Why are you bothering to write your own DAV client?

Microsoft Word, OpenOffice.org, Mac OS X, Desktop Linux distros and
lots of other software already know how to read/write files from DAV
shares with no special (additional) software such as you describe.

Notably, Microsoft Windows explorer makes a complete mess of the
specification and prohibits the use of obviously-useful features,
making DAV nearly impossible to use without help. I have turned to
South River Technologies' WebDrive[1] software to make our DAV shares
work on Microsoft Windows versions after Windows 7. It mounts a WebDAV
share as a drive-letter and then you just work with the files as if
they were local.

- -chris

[1] I have no interest in WebDrive other than I am a very satisfied
customer.
-BEGIN PGP SIGNATURE-
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJYJgfFAAoJEBzwKT+lPKRYl4cP/AznYDHuH4wNYjfi6pvfUqT8
KCj2aI+bcd01dcIgyhhPopRuz4qGW4YVQ6+uqNYq8avvwTCmpj0h5g5bwG0ZPi/I
ZneYvZc9SR7ZL10vPAVM38KKe+y+7guOoiLPWgST/nTKmFGXi26JdezZaq1R/xk6
B30RHQw/pzd9c0BvrhyhDlGOQoGZVsim0wl3JjufZNwTVb6QE193NhFmew5fz9P3
gyrZsVy16KuqQI7k/QDs/PKIZJKEW0Rv+Q0lXJTuiTQmQNNh/AcL4sd11LISsbx3
v6hSklGz2HapXLFNtIgHlnjI9xzG1cMndxzr9nKJM0xpBF1Z69hpCePTMXzX66rw
CJL3bsfUuOXuu+9h5yY8QlJoNcCrxesG6n8c3nPA6GKNc+UHh/DN7DI9ZKv3rthr
kHhx3rI5N873pgzAMScmzX48MJ1wQ16xJIlVFh6eGXLdemXr6hSsJghmNV5WlCDk
bct3829iQTG3jQJSufgBTKojY5lYywE5Z1fGDUbPZeWm5m1Za0pnILMho7GVY3N1
u5AveOGP8uIXl5yczOpxnVKf3UTS/qByca3VB81U/6TdG6lDMV8al0m1S1+FBgCU
oNulgTrDATKYw7DH8SW0PkVgZDFvWQRFG/W3POrUmsIxwUoQ1mN+3OXRaZ3bqyNo
T7vvGzCzQzvdopDPk+G0
=vaGE
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: AW: AW: Using WebDAV in Tomcat 7.0.45

2016-11-11 Thread tomcat

On 11.11.2016 16:08, Arno Schäfer wrote:

Hi André,

many thanks for your thought's, but my requirement is not so complex and 
difficult like it could be.


DAV (or WebDAV), in itself, stands for Distributed Authoring and Versioning. It 
was originally designed mainly
as a tool to help people to remotely edit the HTML pages of a website, and be 
able to do so using the same
HTTP connection which is already used by the website itself (thus avoiding 
separate connections via FTP, SFTP,
SCP etc. and the corresponding user access and permissions setup).
But in itself, DAV does not have all the features which are needed to do this 
in a safe, multi-user scenario.


It is a big internal and 15 year old webserver, where I want to implement 
exactly this purpose, what you are talking
about. DAV should be used instead of share's, like it is today. This service is 
only used internally and will never become a public
service, so from the security site I have no such strange requirements. 
Parallel access for writing will be solved with a simple
locking mechanism, because it is relatively seldom, that more than one person 
work on the same item and then it is acceptable,
that the first owner blocks the file til he is ready.

At least I have tried a little bit around to make our client (written in Java) 
able to send DAV request, but this failed til now,
because it seems, that I have to write my own ' DavURLConnection', because the 
'HttpURLConnection' can't handle the
additional requests. Do you know, if some Java library for DAV clients exist. I 
haven't found any lightweight solution til now.



Search Google for "java library PUT request", it seems to provide several links.



To get the data and edit them, it is very strait forward and works fine for me 
:-)

Many thanks for your patience

Arno

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



AW: AW: Using WebDAV in Tomcat 7.0.45

2016-11-11 Thread Arno Schäfer
Hi André,

many thanks for your thought's, but my requirement is not so complex and 
difficult like it could be.

> DAV (or WebDAV), in itself, stands for Distributed Authoring and Versioning. 
> It was originally designed mainly 
> as a tool to help people to remotely edit the HTML pages of a website, and be 
> able to do so using the same
> HTTP connection which is already used by the website itself (thus avoiding 
> separate connections via FTP, SFTP, 
> SCP etc. and the corresponding user access and permissions setup).
> But in itself, DAV does not have all the features which are needed to do this 
> in a safe, multi-user scenario.

It is a big internal and 15 year old webserver, where I want to implement 
exactly this purpose, what you are talking 
about. DAV should be used instead of share's, like it is today. This service is 
only used internally and will never become a public 
service, so from the security site I have no such strange requirements. 
Parallel access for writing will be solved with a simple
locking mechanism, because it is relatively seldom, that more than one person 
work on the same item and then it is acceptable, 
that the first owner blocks the file til he is ready.

At least I have tried a little bit around to make our client (written in Java) 
able to send DAV request, but this failed til now, 
because it seems, that I have to write my own ' DavURLConnection', because the 
'HttpURLConnection' can't handle the 
additional requests. Do you know, if some Java library for DAV clients exist. I 
haven't found any lightweight solution til now.
To get the data and edit them, it is very strait forward and works fine for me 
:-)

Many thanks for your patience

Arno

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org