通过业务流程(WCF)传递基本身份验证 [英] Passing basic authentication through orchestration (WCF)
问题描述
您好
我有一个BizTalk应用程序,它只是另一个WCF服务的代理。
它收到一个请求(使用基本身份验证),执行一些日志记录,然后将请求传递给外部WCF服务。
我的问题是在发送请求的发送端口上,我必须输入一些凭据能够访问Web服务,这是有效的。但是,调用我的BizTalk应用程序的应用程序已指定了自己的凭据,我需要通过这些
凭据。
这可能吗?有谁知道怎么做?
示例:
如果要在BizTalk中传递凭据,则需要将主机设置为"受信任",并在发送端口上启用SSO。
同样在设计说明中:您上面所做的可能不是最佳解决方案。在没有任何数据丰富的情况下公开Request-Response WebServices时,BizTalk可能会成为瓶颈。你为什么要把BizTalk放在中间?
Morten la Cour
Hi
I have a BizTalk-application that is just a proxy for another WCF service.
It receives a request (with basic authentication), does some logging and then passes the request to the external WCF service.
My problem is that on the send port that sends the request, i have to enter some credentials to be able to access the web service, an that works. BUT, the application calling my BizTalk application has specified its own credentials, and i need to pass those credentials through.
Is that possible? Does anyone know how it can be done?
Example:
If you want to pass on credentials in BizTalk you need to set your Host(s) to "Trusted", and enabling SSO on the Send Port(s).
Also on a design note: What you are doing above might not be the best solution. When exposing Request-Response WebServices without any data-enrichment etc. BizTalk might become a bottleneck. Why do you want to put BizTalk in the middle here?
Morten la Cour
这篇关于通过业务流程(WCF)传递基本身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!