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.conf and add the encoded credentials to the authorization header as follows:
add_header Authorization “Basic c2hheTpwYXNzd29yZA==”
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.