Spring LDAP 2.0.0.RELEASE 是 Spring LDAP 项目的一个重要里程碑版本
Spring LDAP 2.0.0.RELEASE 是 Spring LDAP 项目的一个重要里程碑版本于 2016 年 12 月正式发布。该版本基于 Spring Framework 4.3全面支持 Java 8并引入了多项关键改进与重构主要包括✅完全重写的核心 API采用函数式风格设计提供更简洁、安全的 LDAP 操作抽象如LdapOperations的增强、DirContextProcessor替代ContextMapper等✅响应式编程支持雏形为后续 Spring LDAP 2.1 的 Reactive LDAP 奠定基础✅移除过时模块废弃并删除spring-ldap-tiger因 Java 5 已成标配统一构建于 Java 8✅增强的安全性与异常处理更细粒度的NamingException封装如DataAccessException层次结构完善默认启用连接池Apache Commons Pool 2✅配置现代化原生支持 Java ConfigEnableLdapRepositories和 Spring Boot 自动配置需配合spring-boot-starter-data-ldap。⚠️ 注意2.0.0.RELEASE 已于 2019 年起进入EOLEnd of Life官方不再提供维护或安全更新当前推荐使用 Spring LDAP 2.4.x兼容 Spring Framework 5.3/6.x或迁移至 Spring Data LDAPSpring Boot 3 推荐方案。!-- Maven 依赖示例历史版本不建议新项目使用 --dependencygroupIdorg.springframework.ldap/groupIdartifactIdspring-ldap-core/artifactIdversion2.0.0.RELEASE/version/dependencySpring LDAP 2.0.0.RELEASE ReleasedI’m pleased to announce that Spring LDAP 2.0.0.RELEASE is now available from Maven Central and Bintray. A special thanks to Mattias Arthursson for all the work he put into this release!Refer to the What’s new in Spring LDAP 2.0 to find the full details of this release. A list of changes can be found within JIRA’s change logs. Highlights include:Spring Data Repository and QueryDSL support is now included in Spring LDAP. Fluent LDAP query support has been added. A custom XML namespace is now provided to simplify configuration of Spring LDAP. Spring LDAP core has been updated with Java 5 features such as generics and varargs. The ODM (Object-Directory Mapping) functionality has been moved to core and there are new methods in LdapOperations/LdapTemplate that uses this automatic translation to/from ODM-annotated classes.Please consider helping us spread the word on Twitter, ask questions on Stackoverflow with the spring-ldap tag and log any issues to the Spring LDAP JIRA.comments powered by Disqus