Project: talendesb
Issue TESB-10372: Data Service: user Credentials propagation
Scenario: Provide the ability to get the SAML Token and / or Subject from the Request (Request Initiator) which can be used in a flow later on e.g. to be a parameter of the tBonitaInstance/tESBConsumer component to provide this User Information / SAML Token to the BPM Process to allow the process to make subsequent calls to services with the same user / on behalf of the same user who started the request. We need to provide possibility to get SAML Token from the Request Header and store it somewhere, so it could be used in the flow. One of the idea to extend tESBProviderRequest schema by adding new element 'samlToken' and set in in case SAML Token exists in the Request Header. Getting of the SAML Token should work only in case 'SAML Token' enabled in ESB options. And always in case Service Registry is enabled. By this samlToken can be used in the flow to pass to tESBConsumer, tBonitaInstance, etc.
Story points: 1