如何将 SAML 集成到我的 Rails 应用程序中?

发布于 2024-08-09 21:31:37 字数 267 浏览 2 评论 0原文

我有一个 Rails 应用程序,目前是我客户的 SSO 身份提供商的附属网站。目前它使用 CA SiteMinder Affiliate Agent,这是一个 apache 模块。底层的 SSO 架构被抽象出来,我的 Rails 应用程序只需解析 HTTP 标头即可从客户的身份服务器接收值。我现在必须将我的站点从 SiteMinder Apache 模块转换为使用 SAML。有谁有这应该如何实施的经验?是否有一个 Apache 模块可以继续我现在习惯的抽象,或者我的 Rails 应用程序将负责解析 SAML 断言?

I have a rails app that is currently an affiliate site with my customer's SSO Identity Provider. Currently it uses the CA SiteMinder Affiliate Agent, which is an apache module. The underlying SSO architecture is abstracted away and my Rails app only has to parse and HTTP Header to receive the values from my customer's Identity Server. I now have to convert my site away from the SiteMinder Apache Module and use SAML. Does anyone have experience with how this should be implemented? Is there an Apache Module that can continue the abstraction I'm used to now, or will my Rails application be responsible for parsing the SAML assertions?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

凯凯我们等你回来 2024-08-16 21:31:37

OpenSAML 是一个库 - 它并不是 Site Minder 的真正替代品。也许您正在考虑 OpenSSO。它是一个与 Site Minder 非常相似的开源产品,支持 SAML 和 Apache。

OpenSAML is a library - it's not really a replacement for Site Minder. Perhaps you're thinking of OpenSSO. It is an open source product very similar to Site Minder that supports SAML and Apache.

轻许诺言 2024-08-16 21:31:37

我的团队在 Ruby 中实现了 SAML 协议,并且运行良好。使用一些库来计算哈希值时出现了一些小问题,但它确实有效。我不确定现在是否有更好的即插即用解决方案,但理解 SAML 身份验证过程并实现我们的部分只花了几天时间。

My team implemented the SAML protocol in Ruby and it worked well. The were some minor hiccups in using some libraries to compute hash values, but it worked. I'm not sure if there is a better plug and play solution by now, but understanding the SAML authentication process and implementing our part only took a few days.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文