【发布时间】:2020-05-13 21:50:46
【问题描述】:
我正在尝试通过 LDAP 使用 WebUI 身份验证设置 OpenWisp Django-IPAM。我们的网络中有一个 OpenLDAP 服务器,我希望使用简单的 LDAP 查找来检查登录的有效用户对象。
我看到 API 的 generics.py 文件有一个 authentication_classes 部分,然后包含 SessionAuthentication 和 BasicAuthentication。
这是否与处理 Web UI 身份验证的机制相同?有没有办法将 OpenWisp Django-IPAM 配置为在登录 Web 界面时使用 Django-Auth-LDAP 之类的东西进行身份验证?
【问题讨论】:
标签: django python-3.x ldap django-auth-ldap openwisp