Project

General

Profile

about authenticators

Added by Vernet Renaud over 6 years ago

Hopla
Where can I get documentation about the various authentication mechanisms that Lavoisier supports, and how they are supposed to be used...
Thanks
renaud


Replies (1)

RE: about authenticators - Added by Reynaud Sylvain over 6 years ago

The list of authentication plugins supported by Lavoisier (with their parameters) are here:
[[http://software.in2p3.fr/lavoisier/adaptors.html#authenticator]]

But it does not describe how to use them from cURL:
  • IPAuthenticator:
    • nothing to do, you just have to run your query from an authorized machine
  • X509AUthenticator:
    • use option --cert
  • *HTTPBasicAuthenticator:
    • curl http://myname:mypassword@localhost:8080/lavoisier/example
  • *HTMLFormAuthenticator: the first command needs to be executed only once per session:
    • curl -c mycookie.txt -X POST --data "login=myname" --data "password=mypassword" http://localhost:808 0/lavoisier/example
    • curl -b mycookie.txt http://localhost:8080/lavoisier/example
    (1-1/1)