daml/3rdparty/jvm
Leonid Shlyapnikov c7b5482e43 JWT HMAC256 Authorization (#2389)
* Starting //ledger-service/jwt module

adding //3rdparty/jvm/com/auth0:java_jwt dependency, there are Scala JWT
libraries, however they are either immature or unsupported

* Keys and JWT generator utility/wrapper, WIP

* Keys and JWT generator utility/wrapper, WIP

* RSA Keys generator

* HMAC token validation added to command/create endpoint

HMAC is actually not good, need RSA, this is a shortcut for DABL team.

* Renaming

* command/create test cases fixed to pass OAth2 Bearer token

* removing unused method

* JWT authorization for /command/exercise

* the rest of the endpoints uses JWT authorization

removed hardcoded JwtPayload

* cleanup

* cleanup

* http status code in the header and in the json body should match now

* NotFound would also return a json body now

* Removing hardcoded JWT in the integration test

it is generated using the JwtSigner.HMAC256

* cleanup

* fixing error message

* instructions for making a JWT HMAC token for dev
2019-08-07 16:26:26 +00:00
..
args4j open-sourcing daml 2019-04-04 09:33:38 +01:00
ch/qos/logback open-sourcing daml 2019-04-04 09:33:38 +01:00
co/fs2 open-sourcing daml 2019-04-04 09:33:38 +01:00
com JWT HMAC256 Authorization (#2389) 2019-08-07 16:26:26 +00:00
commons_codec open-sourcing daml 2019-04-04 09:33:38 +01:00
commons_collections open-sourcing daml 2019-04-04 09:33:38 +01:00
commons_io open-sourcing daml 2019-04-04 09:33:38 +01:00
commons_lang open-sourcing daml 2019-04-04 09:33:38 +01:00
commons_logging open-sourcing daml 2019-04-04 09:33:38 +01:00
io Upgrade gRPC JVM libs (#2276) 2019-07-26 14:44:59 +02:00
javax open-sourcing daml 2019-04-04 09:33:38 +01:00
jline open-sourcing daml 2019-04-04 09:33:38 +01:00
joda_time open-sourcing daml 2019-04-04 09:33:38 +01:00
junit open-sourcing daml 2019-04-04 09:33:38 +01:00
log4j open-sourcing daml 2019-04-04 09:33:38 +01:00
net open-sourcing daml 2019-04-04 09:33:38 +01:00
org Unify semantic test between sandbox IT and Ledger API Test Tool (#1171) 2019-05-28 09:58:58 +00:00
uk/co/datumedge open-sourcing daml 2019-04-04 09:33:38 +01:00