# spring-boot-ldap **Repository Path**: chaojunma/spring-boot-ldap ## Basic Information - **Project Name**: spring-boot-ldap - **Description**: Springboot-LDAP针对AD域控做用户和组织进行同步 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 6 - **Forks**: 16 - **Created**: 2021-06-10 - **Last Updated**: 2025-06-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # spring-boot-ldap #### 介绍 Springboot-LDAP针对AD域控做用户和组织进行同步 #### 软件架构 采用springboot2.x使用spring-boot-starter-data-ldap进行的SSL对象的管理,主要针对的是windows上的AD域控 #### 安装教程 1. 将AD域控增加证书管理,将创建的证书与LDAP进行关联 2. 使用本地代码InstallCert将证书下载到本地生成本地文件,将文件拷贝到JAVA_HOME\jre\lib\security下 3. 配置对应的AD域控的LDAP属性信息,如下: spring: ldap: urls: ldaps://ip:636 base: dc=xxx,dc=com username: whjt\administrator password: xxxxxx #### 使用说明 在使用中必须将系统参数进行设置 System.setProperty("com.sun.jndi.ldap.object.disableEndpointIdentification", "true"); 针对扩充字段参照 https://blog.csdn.net/qq_31148345/article/details/79524490 #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)