Rails的身份验证与Active Directory [英] Rails Authentication with Active Directory
问题描述
在我的Rails应用程序,我想与Active Directory进行身份验证。 我已经来看看Adauth,但我不知道如何做到这一点
In my rails app i want to authenticate with an active directory. I already take a look at Adauth, but i don't know how to do this
我可以用我的学校的广告测试AD:exchange.nhl.nl
I can test the AD with my school Ad: exchange.nhl.nl
有人可以帮助我的身份验证或者有一个很好的教程,或者有更好的宝石? 而现在摆在公元站在了密码?
Can someone help me with the authentication or maybe having a good tutorial or has a better gem? And is there in the AD standing a password?
推荐答案
您使用的设计?然后,<一个href="https://github.com/cschiewek/devise_ldap_authenticatable">https://github.com/cschiewek/devise_ldap_authenticatable应该可以帮助您开始。由于Active Directory是一个LDAP服务器。
Are you using devise? Then https://github.com/cschiewek/devise_ldap_authenticatable should help you to get started. Since Active Directory is an LDAP server.
有一个旧的宝石,根据其他专门针对Active Directory中提到:<一href="https://github.com/ajrkerr/devise_active_directory_authenticatable">https://github.com/ajrkerr/devise_active_directory_authenticatable它似乎并没有得到维持,但它仍然可能是有用的。
There is an older gem, based on the other mentioned specifically for Active Directory: https://github.com/ajrkerr/devise_active_directory_authenticatable It doesn't seem to be maintained, but it still could be useful.
希望这有助于。
这篇关于Rails的身份验证与Active Directory的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!