Artifactory supports WebDAV shares. A local or cached repository may be mounted as a secure WebDAV share, and made accessible from any WebDAV-supporting file manager, by referencing the URL of the target repository as follows:
When trying to deploy a file through WebDAV where file locking is enabled, the Artifactory log may display the following message:
"Received unsupported request method: lock".
In some cases this can be solved by disabling file locking before mounting the repository and is done differently for each WebDAV client. For example, for davfs2 file locking is disabled as follows:
echo "use_locks 0" >> /etc/davfs2/davfs2.conf
Note that while for some clients file locking is disabled by default, it is not necessarily possible to disable file locking in all clients.
Authentication for davfs2 Clients
Anonymous access with Artifactory
Artifactory may be configured to allow anonymous access and it will therefore accept requests without authentication.
In this case, Artifactory will not respond with a 401 challenge and you will get file access with anonymous user permissions which may be less than your own user permissions.
Encode your username and password credentials in base64 using the following Groovy script:
Edit the file
~/.davfs2/davfs2.confand add the encoded credentials to the authorization header as follows:
Authentication for Windows and other WebDAV clients