从Web应用程序调用声明感知服务? [英] Calling a claims aware service from a web app?

查看:99
本文介绍了从Web应用程序调用声明感知服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个Web应用程序的良好文档(示例会更好),该应用程序从AD FS 2.0(被动联合)接收SAML令牌,然后将此SAML令牌传递给WCF服务。

I'm looking for good documentation, (a sample would be even better) of a web application which receives a SAML token from AD FS 2.0 (passive federation) and then passes this SAML token to a WCF service.

我已经创建了一个使用AD FS 2.0作为身份提供者的Web应用程序的工作示例,但我无法弄清楚如何:

I've created a working sample of a web application that uses AD FS 2.0 as it's identity provider but I can't quite figure out how to:

1。创建一个WCF服务,期望传递SAML令牌

2.将Web应用程序已经收到的SAML令牌传递给WCF服务。

1. Create a WCF service which expects a SAML token to be passed
2. Pass the SAML token that the web application has already received to the WCF service.

I我可能没有在这里使用正确的术语,也许这就是为什么我很难找到例子。

I'm probably not using the right terminlogy here and maybe that's why I'm having difficulty finding examples.

感谢您的帮助!

推荐答案

看看以下内容:

Take a look at the following:

http://msdn.microsoft.com/en-us /library/ee708924.aspx

http://msdn.microsoft.com/en-us/library/ee708924.aspx

http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/093f4a99-d0c6-4037-b596-34b0ec7bf577/

最新版本的WIF(Microsoft.IdentityModel)为创建ChannelFactory< T>提供了一些扩展。使用已发布的saml令牌。

The latest version of WIF (Microsoft.IdentityModel) provides some extensions for creating a ChannelFactory<T> with an issued saml token.


这篇关于从Web应用程序调用声明感知服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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