Hi Régis,
Welcome to the list.
> Here are the main variables in my ".basex" file:
Please note that the .basex configuration file will be ignored in the
web application context (I have slightly revised our documentation,
because I am not sure if this had explicitly been mentioned so far
[1]).
> 1/ I can't connect to WebDav service using the Finder (on Mac OS X 10.8.5)
> when "org.basex.authmethod" is set to "Digest". WebDav only works with the
> "Basic" auth method
I must confess I haven’t tried Finder by myself (but I see it
officially supports Digest Authentication). Does it work if you set
"org.basex.authmethod" to "Digest" in the web.xml file?
> 2/ When the WebDav folder is mounted in the Finder, I can't copy files into
> it (permissions issues?).
In our team, we have tested the clients listed in our documentation
[2], including some others (Cadaver, Total Commander). I see that
WebDAV was tested with Mac and Finder, but this was quite a while ago,
so I would be glad to hear more about experiences from other Mac
users.
> GRANT READ ON testdb TO test
> GRANT WRITE ON testdb TO test
A little note: READ permissions are already covered by WRITE [3].
> 3/ The "org.basex.password" in WEB-INF/web.xml has no effect.
It should. I just ran the commands you listed, and I edited the web.xml file:
<context-param>
<param-name>org.basex.user</param-name>
<param-value>test</param-value>
</context-param>
<context-param>
<param-name>org.basex.password</param-name>
<param-value>password</param-value>
</context-param>
Next, I started basexhttp, and when using REST, no password will be
requested, because the "test" user is applied as default.
Hope this helps,
Christian
[1] http://docs.basex.org/wiki/Configuration#Configuration_Files
[2] http://docs.basex.org/wiki/Webdav
[3] http://docs.basex.org/wiki/User_Management