-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/56753/
-----------------------------------------------------------
(Updated March 13, 2017, 3:09 p.m.)
Review request for mesos, Alexander Rojas and Greg Mann.
Changes
-------
Added ifdefs.
Bugs: MESOS-7001
https://issues.apache.org/jira/browse/MESOS-7001
Repository: mesos
Description
-------
This HTTP authenticator extracts a JWT from the requests' authorization
header using the 'Bearer' schema and validates it against a secret using
HMAC SHA256. The 'sub' claim of the JWT is the extracted principal, all
other claims will be additional labels of the 'Principal'.
Diffs (updated)
-----
3rdparty/libprocess/Makefile.am 75386184108214e67a58c328258ec204099d638c
3rdparty/libprocess/include/process/authenticator.hpp 7ab41e9faade1db1a74cb833b6b620d4eb46ae01
3rdparty/libprocess/src/jwt_authenticator.cpp PRE-CREATION
3rdparty/libprocess/src/tests/http_tests.cpp a0e23c2300f9f6b9d1143ee1eb115bbf24adf92e
Diff: https://reviews.apache.org/r/56753/diff/9/
Changes: https://reviews.apache.org/r/56753/diff/8-9/
Testing
-------
make check
Thanks,
Jan Schlicht
|