通过WCF服务访问AD FS 2.0声明 [英] Accessing to AD FS 2.0 Claims through WCF Service

查看:77
本文介绍了通过WCF服务访问AD FS 2.0声明的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当前,我正在开发一个WCF服务,该服务充当ASP应用程序和AD FS 2.0之间的中介者,因为架构师不希望ASP应用程序直接与AD FS 2.0对话.

他希望任何应用程序都可以使用WCF服务,并且该服务将在不使用Visual Studio的STS配置的情况下提供信息(声明).

因此,我找到了以下代码:stackoverflow.com/a/10992474/516715

可以很好地获得索赔,但是我对此有疑问:

Currently I'm developing a WCF Service that act as inter-mediator between ASP application and AD FS 2.0, because the architech don't want that ASP app talk directly with AD FS 2.0.

He want that any app to use the WCF Service and this service will provide the information (Claims) without using the STS configuration of Visual Studio.

So, I found this code: stackoverflow.com/a/10992474/516715

This work fine to get claims, but I have questions about this:

  • 如何在ASP应用程序中创建ADFS的身份验证,会话和持久cookie?
  • 如何通过WCF服务关闭会话.
  • 存在更多详细信息,请牢记这种情况
  • 存在与此相关的安全性问题吗?
  • 有人可以对此提出建议吗?

谢谢!

推荐答案

有些链接希望对他们有所帮助.

Hi, there are some links hope they help.

http://stienessen.net/mixed-mode-adfs-2-0-and-forms-authentication-in-a-single-asp-netweb-application

http://stienessen.net/mixed-mode-adfs-2-0-and-forms-authentication-in-a-single-asp-netweb-application

使用WCF中的ASP.NET会话

Using ASP.NET Sessions from WCF

http://blogs.msdn.com/b/wenlong/archive/2010/02/21/using-asp-net-sessions-from-wcf.aspx

http://blogs.msdn.com/b/wenlong/archive/2010/02/21/using-asp-net-sessions-from-wcf.aspx


这篇关于通过WCF服务访问AD FS 2.0声明的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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