aurora-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giulio Eulisse <giulio.euli...@cern.ch>
Subject Re: Review Request 51893: Allow cookie based authentication
Date Wed, 14 Sep 2016 16:03:12 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/51893/
-----------------------------------------------------------

(Updated Sept. 14, 2016, 4:03 p.m.)


Review request for Aurora, Joshua Cohen and WarnerSM WarnerSM.


Changes
-------

@ReviewBot retry


Repository: aurora


Description
-------

This allows aurora client to connect to servers which are behind a
frontend which expects some sort of cookie to autheticate and authorize
users.

A cookie_jar option can be specified in the `~/.aurora/clusters.json`
to specify a file where the cookie jar is located. Such a cookie jar,
in MozillanCookieJar format, will be used to create the session and
therefore all the subsequent requests will use it.


Diffs (updated)
-----

  src/main/python/apache/aurora/client/api/scheduler_client.py cbdb50ae409b70a35a03405f969d02a6145c9c53


Diff: https://reviews.apache.org/r/51893/diff/


Testing
-------

$ cat ~/aurora/clusters.json
[
{
  "name": "build",
  "scheduler_uri": "https://aliaurora.cern.ch",
  "auth_mechanism": "UNAUTHENTICATED",
  "cookie_jar": "~/.aurora-token"
}
]
$ dist/aurora.pex quota get build/root


Thanks,

Giulio Eulisse


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message