xenon-middleware / xenon

A middleware abstraction library that provides a simple programming interface to various compute and storage resources.
http://xenon-middleware.github.io/xenon/
Apache License 2.0
33 stars 17 forks source link

Token authentication with webdav #673

Open sverhoeven opened 4 years ago

sverhoeven commented 4 years ago

To authenticate against SURFSara's dCache servers a token (Macaroon) is needed. At the moment the Xenon webdav adaptor only accepts username/password combi. It would be nice if Xenon was able to copy files to/from a dCache webdav server using a token instead of username/password.

sverhoeven commented 4 years ago

Instead of using slower non-file transfer operations of webdav, we could create a dCache adapter which uses the dCache REST API for quicker operations. See https://github.com/sara-nl/SpiderScripts for cli client which use curl to talk to API.