WCF路由服务-目标端点的基本身份验证 [英] WCF Routing Service - Basic Authentication for Target end point

查看:52
本文介绍了WCF路由服务-目标端点的基本身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在开发一个实现,其中必须使用WCF路由服务将请求路由到内部服务.在这种情况下,内部服务启用了基本身份验证.有没有一种方法可以为 路由服务web.config中的目标Web服务?感谢您的帮助!

I am working on an implementation where I have to use WCF routing service to route requests to internal services. In this scenario, internal services have basic authentication enabled. Is there a way to set basic authentication client credentials for the target web service in routing service web.config ? Any help is appreciated!

感谢,Pavan MCTS-Microsoft Biztalk Windows Server 2010

Thanks, Pavan MCTS-Microsoft Biztalk Windows Server 2010

推荐答案

>>有没有办法设置基本身份验证客户端路由服务web.config中目标Web服务的凭据?

>>Is there a way to set basic authentication client credentials for the target web service in routing service web.config ?

不,这是不可能的.支持安全上下文转发的唯一用例是使用Windows凭据的邮件安全性.

No, it is impossible. The only use case that supports security context forwarding is message security with Windows credentials.

其他用例(例如用户名密码,X.509或联合凭据)不允许安全上下文转发.这意味着可以将路由器配置为强制执行消息安全性,但是必须将服务配置为禁用安全性,并且不能 访问安全上下文,例如用户的身份.

Other use cases such as username password , X.509 or federated credentials does not allow security context forwarding. It means that the router can be configured to enforce message security but the service must be configured to disable security and it cannot access the security context such as the user's Identity.

有关更多信息,建议您参考以下链接:

For more information, I suggest you refer the link below:

#WCF路由和消息安全性

#WCF Routing and Message Security

http://blogs.microsoft.co. il/applisec/2011/12/12/wcf-routing-and-message-security/


这篇关于WCF路由服务-目标端点的基本身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆