daml/ledger-service
Victor Peter Rouven Müller c5de61ae9e
[JSON-API] Also accept user tokens as auth source (#12075)
* WIP

* Remove the dummy implementation and replace it with an actual working implementation

* Make it compile!

* Add working tests for the user management support in the json api

CHANGELOG_BEGIN

- [JSON-API] Added basic support for the new user management feature of the ledger such that user tokens are now accepted instead of the legacy tokens

CHANGELOG_END

* Simplify the create iou test case and adjust the test case name to be correct

* Add additional test that covers that the overwrite of actAs&readAs still works via the meta object

* Make it work with unauthenticated ledgers too

* Fix compile error & wrong behaviour & add test coverage for non auth ledgers

* Clean up the diff

* Address 66312e9940 (r770782884)

* Address 66312e9940 (r770750653)

* Addressing 66312e9940 (r770751958)

* Address 66312e9940 (r770736671)

* Address 66312e9940 (r770734395) and 66312e9940 (r770783237)

Co-authored-by: Stefano Baghino <stefano.baghino@digitalasset.com>
2021-12-18 12:54:12 +00:00
..
cli-opts Simplify loading of logback file (#10592) 2021-08-17 08:46:37 +00:00
db-backend replace OneAnd party Sets with NonEmpty Set (#11420) 2021-10-28 15:23:12 +00:00
fetch-contracts use domain.Offset instead of String in ContractsFetch functions (#12160) 2021-12-16 18:14:39 +00:00
http-json [JSON-API] Also accept user tokens as auth source (#12075) 2021-12-18 12:54:12 +00:00
http-json-cli [TS-Bindings] Changes to re-enable ws multiplexing (#11681) 2021-11-15 22:57:21 +05:30
http-json-ledger-client [JSON-API] Use the token from incoming requests to update the package list (#10602) 2021-09-03 10:12:01 +00:00
http-json-oracle Factor kind projector target into a variable (#11759) 2021-11-18 09:51:43 +01:00
http-json-perf [JSON-API] Also accept user tokens as auth source (#12075) 2021-12-18 12:54:12 +00:00
http-json-testing [JSON-API] Also accept user tokens as auth source (#12075) 2021-12-18 12:54:12 +00:00
jwt Drop 2.12 versioned_scala_deps (#11748) 2021-11-17 22:13:08 +00:00
lf-value-json Drop ContractId typeparameter from Value (#10827) 2021-09-16 08:46:57 +00:00
utils LF: replace "dev" LF version by "1.dev" in bazel files (#11894) 2021-11-26 12:23:17 +00:00