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

 

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

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

 

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

 

LdapSettings/ILdapSettings:通过settingManager获取LDAP settings

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

 

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

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

 

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

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

 

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

 

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

 

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

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

 

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

分类:

技术点:

相关文章: