How to forward SAML token with WF4 Security Activity Pack?

Apr 24, 2012 at 7:37 AM
Edited Apr 26, 2012 at 2:55 AM

Hi,

I am trying to implement a WF4 workflow where a received SAML token (issued by a simple WIF STS) is forwarded to a back-end service. After some initial issues I finally got a scenario to work using the TokenFlowScope and GetBootstrapToken activities. However, the workflow service, respectively the WSFederationHttpBinding always acquires a new token instead of just passing through the incoming one. This is not necessary because the workflow and the back-end services are in the same security realm and both have a trust relationship with the STS and the enormous overhead of acquiring new tokens is causing serious performance issues.

Is there a way to change the behavior of the TokenFlowScope activity to just forward the incoming token instead of acquiring a new one?