news 2026/4/20 23:21:46

Spring LDAP 2.0.0.RELEASE 是 Spring LDAP 项目的一个重要里程碑版本

作者头像

张小明

前端开发工程师

1.2k 24
文章封面图
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 Config(@EnableLdapRepositories)和 Spring Boot 自动配置(需配合spring-boot-starter-data-ldap)。

⚠️ 注意:2.0.0.RELEASE 已于 2019 年起进入EOL(End of Life),官方不再提供维护或安全更新;当前推荐使用 Spring LDAP 2.4.x(兼容 Spring Framework 5.3+/6.x)或迁移至 Spring Data LDAP(Spring Boot 3+ 推荐方案)。

<!-- Maven 依赖示例(历史版本,不建议新项目使用) --><dependency><groupId>org.springframework.ldap</groupId><artifactId>spring-ldap-core</artifactId><version>2.0.0.RELEASE</version></dependency>

Spring LDAP 2.0.0.RELEASE Released
I’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

版权声明: 本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
网站建设 2026/4/20 23:19:14

Windows的cmd运行编译器(cmd运行c/c++、python等)

目录 一、cmd.exe 二、cmd.exe运行编译器gcc.exe/g.exe执行C/C程序代码 三、gcc.exe与g.exe的区别及其使用注意事项 1、文件格式问题 2、标准库问题 3、语法规范问题 4、extern "C"声明问题与重载函数(overloaded function) 四、cmd运行python解释器执行python程序代…

作者头像 李华
网站建设 2026/4/20 23:17:16

Tacotron-2超参数调优秘籍:20个关键参数对语音质量的影响分析

Tacotron-2超参数调优秘籍&#xff1a;20个关键参数对语音质量的影响分析 【免费下载链接】Tacotron-2 DeepMinds Tacotron-2 Tensorflow implementation 项目地址: https://gitcode.com/gh_mirrors/ta/Tacotron-2 Tacotron-2是DeepMind开源的端到端语音合成模型&#x…

作者头像 李华
网站建设 2026/4/20 23:15:16

i3wm-themer开发者指南:扩展主题系统与自定义模块开发

i3wm-themer开发者指南&#xff1a;扩展主题系统与自定义模块开发 【免费下载链接】i3wm-themer &#x1f3a8; Theme collection manager for i3-wm 项目地址: https://gitcode.com/gh_mirrors/i3/i3wm-themer i3wm-themer是一个功能强大的i3窗口管理器主题集合管理器…

作者头像 李华
网站建设 2026/4/20 23:14:15

3步搞定VRChat模型导入:Cats Blender插件的极简使用手册

3步搞定VRChat模型导入&#xff1a;Cats Blender插件的极简使用手册 【免费下载链接】cats-blender-plugin :smiley_cat: A tool designed to shorten steps needed to import and optimize models into VRChat. Compatible models are: MMD, XNALara, Mixamo, DAZ/Poser, Blen…

作者头像 李华
网站建设 2026/4/20 23:12:22

题解:AcWing 487 金明的预算方案

本文分享的必刷题目是从蓝桥云课、洛谷、AcWing等知名刷题平台精心挑选而来,并结合各平台提供的算法标签和难度等级进行了系统分类。题目涵盖了从基础到进阶的多种算法和数据结构,旨在为不同阶段的编程学习者提供一条清晰、平稳的学习提升路径。 欢迎大家订阅我的专栏:算法…

作者头像 李华