在 PHP 上实施 Windows Identity Foundation
需要一些建议 Windows Identity Foundation 是否可以与 PHP 平台一起使用? 我知道 WIF 是针对 .NET 框架的,其功能之一是关于单点登录的功能。 我需要做什么才能将 WIF 的功能包含到 PHP 客户端域站点?
Need some advice whether Windows Identity Foundation can work with PHP platform or not?
I know that WIF is targeted for .NET framework, and 1 of its features is about Single-Sign On kind of feature.
What do I need to do in order to include the WIF's features to PHP client domain sites?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Windows Identity Foundation (WIF) 通过 SAML 协议提供单点登录功能,该协议是一种开放式协议标准。因此,要在 PHP 中实现 WIF 功能,您只需使用 SAML PHP 库之一。
有几个,但 SimpleSAML 可能是最强大的,我能够使其适用于 PHP 应用程序接受来自 AD FS STS 的声明。我们还在 Drupal 中使用相同的库(稍加修改)来启用单点登录。
希望这有帮助。
Windows Identity Foundation (WIF) provides single sign-on capabilities through the SAML protocol, which is an open standard. So to implement WIF functionality in PHP, you just need to use one of the SAML PHP libraries.
There are several out there, but SimpleSAML is probably the most robust, and I was able to make it work for a PHP application that accepted claims from an AD FS STS. We also used the same library within Drupal (with slight modifications) to enable single sign-on.
Hope this helps.