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

(Updated March 6, 2017, 3:55 p.m.)


Review request for mesos, Alexander Rojas and Greg Mann.


Changes
-------

Address issues and use `JWTError`.


Bugs: MESOS-7001
    https://issues.apache.org/jira/browse/MESOS-7001


Repository: mesos


Description (updated)
-------

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 
e5489c6cb4adc8a822e7dd4515542618c36136f9 
  3rdparty/libprocess/src/authenticator.cpp 
cfedb6f7674e0f6690e77a633cdd1bd494c7d2c7 
  3rdparty/libprocess/src/jwt_authenticator.cpp PRE-CREATION 
  3rdparty/libprocess/src/tests/http_tests.cpp 
fb4da9aecff0370d97a15269c5d8fffb30e0478f 


Diff: https://reviews.apache.org/r/56753/diff/4/

Changes: https://reviews.apache.org/r/56753/diff/3-4/


Testing
-------

make check


Thanks,

Jan Schlicht

Reply via email to