使用AD作为Django的身份验证 [英] Using AD as authentication for Django
本文介绍了使用AD作为Django的身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在公司环境中开发基于Django的应用程序,并且希望使用现有的Active Directory系统对用户进行身份验证(这样他们就不会再使用其他登录名/密码组合了).我还想继续使用Django的用户授权/许可系统来管理用户功能.
I'm working on a Django-based application in a corporate environment and would like to use the existing Active Directory system for authentication of users (so they don't get yet another login/password combo). I would also like to continue to use Django's user authorization / permission system to manage user capabilities.
有人有很好的例子吗?
Does anyone have a good example of this?
推荐答案
这是另一个更新的代码段(2008年7月,2015年12月更新):
Here's another more recent snippet (July 2008, updated Dec 2015):
通过SSL对Active Directory(LDAP)进行身份验证
这篇关于使用AD作为Django的身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文