Encode your username and password credentials in base64 using the following Groovy script:
Code Block title Groovy script
Edit the file
~/.davfs2/davfs2.confand add the encoded credentials to the authorization header as follows:
Code Block title Adding authorization header
add_header Authorization “Basic c2hheTpwYXNzd29yZA==”
Authentication for Windows and other WebDAV clients
Although the use of Windows WebDAV/WebClient components to map/mount a Windows Drive for a WebDAV shared Artifactory does provide a listing of the files - other operations such as copy/move operations are utilizing WebDAV commands which are not supported by Artifactory.