Add space configuration for new transfer parameter authenticateToRemoteURL
Issue description
I cannot use the PREPROD DLM https://dotstat-manage-pp.oecd.org/ I’m logged:
But when clicking on ECO – Process dataspace and on Dataflow (on the left), it ask me for a login, and this does not work using my oecd account:
I cannot go further (even clicking on Connect anonymously instead)
Solution analysis
- Because ECO uses a different transfer service than the corporate one, ECO spaces needed to be considered as external spaces (without authentication)
- A basic authentication (non-compatible with .Stat Suite for security reasons) mechanism was implemented for external spaces in ticket #207 (closed) but it should not have been executed for the ECO spaces because the related configuration (see doc) was not made for those spaces.
- The new tenant model and the new token forward mechanism by the transfer service (still to be released) will allow using different transfer services in the DLM and still use a common authentication mechanism.
Technical tasks
- DLM: Space configuration "hasExternalAuth" not working correctly --> separate ticket
-
Transfer: make sure that this ticket is deployed in pre-prod (allowing the transfer service to pass the token to the source web service -
DLM: Add a space configuration to allow setting the new optional transfer web service parameter authenticateToRemoteURL
totrue
in the methods/import/sdmxFile
and/validate/sdmxFile
to state that the provided user's token should be used in the call of this space (as remote URL). -
OECD-Config for corporate DLM: - move ECO spaces back to internal spaces
- Set the new space configuration so that the transfer service forwards the token to this space
This will allow ECO spaces being used again with the corporate DLM.
Edited by Jens Dossé