Markus Pilman
0eeecdcc79
Apply suggestions from code review
...
Co-authored-by: Junhyun Shim <junhyun.shim@snowflake.com>
2022-10-12 08:34:18 -06:00
Markus Pilman
5239c491c4
Audit all AuthZ token usages
2022-10-11 14:34:10 -06:00
Junhyun Shim
727e000b2a
Apply clang format
2022-09-09 15:31:29 +02:00
Junhyun Shim
89800dbb03
Cover TokenCache code probes unhit by unit test
...
* Token with invalid signature
* Valid token doesn't reference tenant
2022-09-09 15:30:07 +02:00
Junhyun Shim
b4e428fa33
Address review comments
...
- Revert JWT timestamp from double back to uint64_t
- Describe in comment the need for wait loop at the beginning of watchPublicKeyJwksFile()
- Revert CLI args definition in fdbserver.actor.cpp that was
incorrectly tabbed with a bad clang-format run
2022-08-29 12:49:03 +02:00
Junhyun Shim
62f8f01ed8
Fix token parser only allowing uint64
2022-08-17 20:23:51 +02:00
Junhyun Shim
d3befe62d8
Make issued-at field mandatory at token verification
2022-08-17 17:33:50 +02:00
A.J. Beamon
5a071e1b19
Fix bug in token cache unit test where the expiration time was underflowing.
2022-07-30 14:22:24 -07:00
Markus Pilman
b600966cf9
fix token cache unit test
2022-07-29 12:47:55 -06:00