Ruby on Rails 或 JRuby 的身份验证库
我正在考虑使用 Ruby(或 jRuby,因为在撰写本文时我还没有在两者之间做出决定)来实现身份验证和用户管理。
有哪些适用于 Ruby/jRuby 的优秀身份验证库? 另外,由于我是 Ruby 新手,我可以为 ruby 或 jruby 使用相同的库吗?
谢谢, 亚历克斯
I am thinking about implementing authentication and user management using Ruby (or jRuby since I have not decided between the two at the time of this writing).
What are some good auth libraries available for Ruby/jRuby?
Also since I am sort of a Ruby-newb, can I potentially use the same library for either ruby or jruby?
Thanks,
Alex
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
看看
http://ruby-toolbox.com/categories/rails_authentication.html
查看 Rails 身份验证解决方案列表(按受欢迎程度排名)。
设计是最受欢迎的。下面是一个有用的教程和示例应用程序,展示了如何设置 Devise:
rails3-mongoid-devise 教程和示例
Take a look at
http://ruby-toolbox.com/categories/rails_authentication.html
for a list of authentication solutions for Rails, ranked by popularity.
Devise is the most popular. Here's a useful tutorial and example app that shows how to set up Devise:
rails3-mongoid-devise tutorial and example
Sorcery是另一个auth lib,它诞生于几个月前,由我编写。
https://github.com/NoamB/sorcery
对于新手来说不是那么多,但它给了很多东西更大的灵活性,因为它是一个简单的 API,而不是一个完整的 MVC 解决方案。
尚未在 jruby 上尝试过。
请参阅 github wiki 中的教程。
Sorcery is another auth lib, which was born a few months ago, authored by me.
https://github.com/NoamB/sorcery
It is not so much for newbies, but it gives much more flexibility since it is a bare-bones API instead of a complete MVC solution.
Not yet tried on jruby.
See tutorials in the github wiki.