Ruby CAS 服务器是否提供用于打开会话、获取服务票证的 Restful 接口?

发布于 2024-07-26 14:49:07 字数 249 浏览 2 评论 0原文

我已经安装了 Ruby CAS 服务器,我的应用程序是一个简单的 Restful 身份验证用户管理应用程序,我想通过为我的用户管理应用程序提供中央身份验证来试验我的应用程序,我为此使用 Restful 身份验证插件,它充当 Ruby CAS 客户端。

Ruby CAS 服务器是否支持集中身份验证的 Restful 身份验证来实现 SSO(单点登录)?

为了支持 Ruby CAS 服务器中的 Restful 接口,是否有任何解决办法,提前致谢

I have installed Ruby CAS server and my application is a simple Restful Authentication User Management Application , i would to like experiment my application by providing a Central Authentication for my User Management Application , i am using Restful authentication plugin for this , which act as the Ruby CAS client .

Does Ruby CAS server supports Restful Authentication for Centralized Authentication to implement SSO (Single Sign On) ?

Is there any work around for this in order to support restful interface in Ruby CAS server , Thanks in Advance

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

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

发布评论

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

评论(1

只是一片海 2024-08-02 14:49:07

RubyCAS 实现CAS 协议,这是一种 RESTful(至少,它使用纯 HTTP 调用,并且不是 SOAP 或 XML-RPC)。 虽然 Restful_authentication 不支持与 CAS 服务器通信,但有多种 Rails 解决方案支持。 我编写了其中一个,它允许基于 Devise 的应用程序与 CAS 服务器通信。

RubyCAS-Server 还有一个内置适配器,如果您需要的话,可以使用 Restful_authentication 生成的用户表作为其用户存储。 (如果您还没有 Restful_authentication 数据库,那么最好不要使用这些数据库,而是使用 RubyCAS-Server 的本机表。)

RubyCAS-Server 的另一个合理替代方案是 Castronaut,这是一个更轻量级、基于 Sinatra 的应用程序。 我正在与另一位开发人员一起开发一个更精简的版本,我们希望在不久的将来发布它。

祝你好运! CAS 一开始可能有点令人畏惧,但在我看来完全值得。

RubyCAS implements the CAS protocol, which is sort of RESTful (at least, it uses plain HTTP calls and not SOAP or XML-RPC). While restful_authentication doesn't support talking to a CAS server, there are several Rails solutions that do. I wrote one of them, which allows Devise-based applications to speak to a CAS server.

RubyCAS-Server also has a built-in adapter for using user tables generated by restful_authentication as its user store, if you need to do that. (If you don't already have a restful_authentication database, you're better off not using those and instead using RubyCAS-Server's native tables.)

Another reasonable alternative to RubyCAS-Server is Castronaut, which is a somewhat more lightweight, Sinatra-based app. I'm working on an even slimmer version of this with another developer, and we hope to release it in the near future.

Best of luck! CAS can be a little daunting at first, but is totally worth it IMO.

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