Fork me on GitHub

ABP源码分析四十六:ABP ZERO中的Ldap模块

通过AD作为用户认证的数据源。整个管理用户认证逻辑就在LdapAuthenticationSource类中实现。

 

LdapSettingProvider:定义LDAPsetting和提供DefautValue。主要提供配置访问AD数据库的账号信息。

 

 

LdapSettings/ILdapSettings:通过settingManager获取LDAP settings

 

AbpZeroLdapModuleConfig/IAbpZeroLdapModuleConfig: 提供激活Ldap认证的配置。

 

LdapAuthenticationSource:通过System.DirectoryServices.AccountManagement提供的API基于AD作为用户认证的数据源完成用户的认证

 

 

 

AbpZeroLdapModule:完成常规的依赖注入,和本地化资源的注入

 

返回ABP源码分析系列文章目录

posted @ 2016-05-19 20:42  ZHK的博客  阅读(2768)  评论(2编辑  收藏  举报