最近使用了Sharepoint 2010的开发,其中包括一个新的服务STS,看了一下,主要资料如下:

现有的认证授权如Memebership的开发支持已经比较完善了,之所以引入WIF,主要是通过间接的形式抽象,使认证和授权在分布式环境下更易使用。

With the inflationary growth of distributed systems and online businesses, in the last few years the increasing need for interoperable protocols that could tear down the walls between silos became clear. The big players in the IT industry got together and agreed on a set of common protocols that would support interoperable communications across different platforms. Some examples of those protocols are SOAP, WS-Security, WS-Trust, WS-Federation, Security Assertion Markup Language (SAML), and in more recent times, OpenID, OAuth, and other open protocols.Claims-based identity promotes separation of concerns at a level never achieved before in the identity management world.

Windows Identity Foundation (WIF) is Microsoft’s stack for claims-based identity programming. It is a new foundational technology which helps .NET developers to take advantage of the claims based approach for handing authentication, authorization, customization and in general any identity-related task without the need to write any low-level code.

经典的claims-based identity过程

WIF的过程

identity providers (IP).

relying party (RP)

STS (Security Token Service).

WIF的具体过程:

1. WIF sits in front of your application in the ASP.NET pipeline. When an unauthenticated user requests a page, it redirects the browser to the identity provider pages.
2. Here the IP authenticates the user in whatever way it chooses (perhaps by showing a page with user name and password, using Kerberos, or in some other way). Then it manufactures a token with the required claims and sends it back.
3. The browser posts the token it got from the IP to the application, where WIF again intercepts the request.
4. If the token satisfies the requirements of the application (that is, it comes from the right IP, contains the right claims, and so on), the user is considered authenticated. WIF then drops a cookie, and a session is established.
5. The claims in the incoming token are made available to the application code, and the control is passed to the application.

参考资料

■ The WIF product home page on http://www.microsoft.com/wif

WIF Runtime 和 WIF SDK
■  The Identity Developer Training Kit at http://go.microsoft.com/fwlink/?LinkId=148795

很多的例子和概念展示
■ The WIF team blog at http://blogs.msdn.com/card

http://www.cloudidentity.net

■ The IdElement Show on Channel9: http://channel9.msdn.com/shows/Identity/

转载于:https://www.cnblogs.com/2018/archive/2011/12/14/2284157.html

WIF - claims-based identity相关推荐

  1. java的claims_How to implement claims based authentication in a java app?

    I'm currently working on a project where I'd like to use Claims based authentication (Using windows ...

  2. Windows Identity Foundation-- Windows身份验证基本框架

    因为要做一个SAML2的项目,但是第一次接触SAML,欠缺很多计算机安全基础知识,用英文实在难以理解,想先把他翻成中文再来理解.网上搜了一下,但是有的文章是用机器翻译的,更难理解,例如Claims被翻 ...

  3. Web 单点登录系统

    对于企业内部系统来说,CAS系统是一个应用最广的开源单点登陆实现了,其实现模仿Kerberos的一些概念,例如KDC.TGS等等,都是来自于Kerberos.具体可参见 用CAS原理构建单点登录.互联 ...

  4. 使用WIF实现单点登录Part I——Windows Identity Foundation介绍及环境搭建 -摘自网络...

    上个月有一个星期的时间都在研究asp.net mvc统一身份验证及单点登录的实现.经过了一番的探索,最终决定使用微软的Windows Identity Foundation.但是这东西用的人貌似不多, ...

  5. [转]WCF 4 安全性和 WIF 简介

    转自:http://www.cnblogs.com/WizardWu/archive/2010/10/04/1841793.html 本帖简介 .NET 新一代的 Windows Identity F ...

  6. WCF 4 安全性和 WIF 简介

    本帖简介 .NET 新一代的 Windows Identity Foundation (WIF) 框架,及其与 WCF 的协同运用.文后提供两本 WCF 4 书籍.一本 WIF 书籍的下载地址,及许多 ...

  7. ASP.NET Core Identity 实战(1)——Identity 初次体验

    ASP.NET Core Identity是用于构建ASP.NET Core Web应用程序的成员资格系统,包括成员资格.登录和用户数据存储 这是来自于 ASP.NET Core Identity 仓 ...

  8. ASP.NET Identity 三(转载)

    转载来源:http://www.cnblogs.com/r01cn/p/5194257.html 注:本文是[ASP.NET Identity系列教程]的第三篇.本系列教程详细.完整.深入地介绍了微软 ...

  9. 【ASP.NET Identity系列教程(三)】Identity高级技术

    注:本文是[ASP.NET Identity系列教程]的第三篇.本系列教程详细.完整.深入地介绍了微软的ASP.NET Identity技术,描述了如何运用ASP.NET Identity实现应用程序 ...

最新文章

  1. sqlserver2000分页存储过程(原创)
  2. leetcode396. Rotate Function
  3. c++账户类 题目描述
  4. CDQ分治 Jam's problem again [HDU - 5618]
  5. 微软Office 365正式上架Mac App Store
  6. php异步发送邮件,php通过fsockopen异步发送邮件
  7. linux里netstat与ps,linux命令——ps和netstat
  8. 《『若水新闻』客户端开发教程》——10.代码编写(2)
  9. 人人都会设计模式---代理模式--Proxy
  10. 笔记:《深入浅出统计学》第十四章:卡方分布
  11. 计算机操作系统 第五版 答案,操作系统-第5版-习题答案.doc
  12. PMP之项目风险管理
  13. w10系统asp服务器搭建,win10系统搭建asp环境的操作方法
  14. 我的2021 年终总结
  15. 微软的SqlHelper做数据层(一)
  16. sai 绘图软件快捷键
  17. 微信扫一扫 扫普通链接二维码打开微信小程序
  18. 基于扫描的磁盘调度算法
  19. 咖啡 santos and java,咖啡种类的分析 煮咖啡水配比
  20. 数商云采购管理系统方案助力采购平台:缩短采购周期、降本增效

热门文章

  1. Android源码解析--AlertDialog及AlertDialog.Builder
  2. loop指令 c语言,arm汇编loop指令
  3. C++中 引用与取地址的区别
  4. exit()与_exit()函数的区别
  5. 每天一道LeetCode-----计算直方图中最大矩形的面积
  6. muduo网络库学习(七)用于创建服务器的类TcpServer
  7. 目标和—leetcode494
  8. 有效的括号—leetcode20
  9. php mysql数据库 指南_用 PHP 创建 MySQL 数据库
  10. 发送WM_COPYDATA消息实现进程间的通信