WS-Trust、OpenID 和 SAML Passive 之间有什么区别?
Microsoft ADFSv2 似乎支持 WS-Trust 和 SAML Passive,但其构建的 WIF 堆栈不支持 SAML。
WS-Trust 和 SAML-P 之间有什么区别?它们是否具有相同的安全漏洞?如果有,它们是什么?
注意:这里有一个类似但不同的问题:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我假设您指的是[新发布的] ADFS v2?
是的,ADFS v2 支持 WS-Trust(和 WS-Federation)和 SAML2 被动方式,而 WIF 仅支持 WS-Trust(和 WS-Federation)而不支持 SAML2(既不被动也不主动)。
WS-Federation 使用 WS-Trust 执行[基于浏览器的]被动联合,并且在许多方面与 SAML2 被动类似 - 但在许多方面又不同。 WS-Federation 和 SAML2 被动之间的一个显着区别是 WS-Federation v1.1(ADFS v2 支持的新版本)支持自动元数据发现。您只需要在 WS-Federation 中提供元数据端点(URL),而在 SAML 中您必须通过某种选择的方法(U 盘、邮件等)交换元数据文档。
我不知道这两种协议中是否存在任何实际的安全漏洞,但元数据交换的方法可以永远争论。 WS-Federation 方法使许多事情变得更加容易,例如证书滚动、自动更新、联盟中新成员的“免费”自动配置等。但是,SAML2 中的“手动”交换过程至少可以理论上会更加安全。
至于为什么 WIF 中不包含 SAML 支持,我只能推测。一个合理的猜测可能是有人希望使用 WIF 的站点与 ADFS 联合,而不是直接与其他一些[第三方] IdP :-)
I assume you're referring to [the newly released] ADFS v2?
Yes, ADFS v2 supports WS-Trust (and WS-Federation) and SAML2 passive, and WIF only supports WS-Trust (and WS-Federation) and not SAML2 (neither passive nor active).
WS-Federation uses WS-Trust to perform [browser based] passive federation, and is in many ways similar to SAML2 passive - and in many ways not. A significant difference between WS-Federation and SAML2 passive is that WS-Federation v1.1 (the new version supported by ADFS v2) supports automatic metadata discovery. You only need to provide a metadata endpoint (an URL) in WS-Federation, whereas in SAML you have to exchange metadata documents by some chose method (usb stick, mail, etc.).
I don't know of any actual security vulnerabilities in either protocol, but the approach to metadata exchange can be debated forever. The WS-Federation approach makes many things much easier, such as certificate roll-over, automatic updates, "for-free" automatic provisioning of new members in a federation, etc. However, the "manual" exchange procedure in SAML2 can at least in theory be made more secure.
As to why SAML support is not included in WIF, I can only speculate. A decent guess could be that someone wants sites using WIF to federate with an ADFS, and not directly with some other [third party] IdP :-)
2015 年更新并更正的答案
定义:
OAuth
OIDC (Open ID Connect)
请参阅 Travis Spenscer 的 OAuth 和 OIDC 文章 - 很容易阅读。
如果没有更正,请将其标记为答案。谢谢。
An updated and corrected answer for 2015
Definitions:
OAuth
OIDC (Open ID Connect)
See Travis Spenscer's OAuth and OIDC article - its an easy read.
If there are no corrections to this, please mark it as the answer. Thanks.
来自 SSO 学院,非常简单的区别,
From The SSO Academy, very simple difference,