Spring LDAP 1.3.1 发布

发布 | Ulrik Sandberg | 2010年11月30日 | ...

亲爱的Spring社区,

我们很高兴地宣布 Spring LDAP 1.3.1 版已发布。这是一个更新版本,添加了一个新的 LDIF 解析库、一个对象-目录映射 (ODM) 框架,并修复了 1.3.0 中的一些问题。下载 | 更新日志

一些更重要变更的摘要

  • 添加了一个对象-目录映射 (ODM) 框架,用于 LDAP 和 Java 对象之间基于注解的映射;类似于 Hibernate 或 JPA,但专门用于 LDAP。感谢 Paul Harvey 的贡献。(文档
  • 添加了一个 LDIF 解析库,可选择与 Spring Batch 集成。感谢 Keith Barlow 的贡献。(文档
  • 扩展了 ContextMapperCallbackHandler,可以向关联的映射器提供指示,表明每个搜索结果的响应都不同。(LDAP-185
  • 现已支持 DIGEST-MD5 SASL 身份验证机制。由 Marvin S. Addison 贡献。(LDAP-173
  • AbstractTlsDirContextAuthenticationStrategy 现在提供了一个设置器,用于自定义用于 TLS 协商的 SSLSocketFactory。(LDAP-180
  • 添加了通过 AuthenticationErrorCallback 提供可能的身份验证异常的身份验证方法。(LDAP-192

在此处获取最新的 Spring LDAP 版本

Ulrik Sandberg 和 Mattias Hellborg-Arthursson,Jayway
Spring LDAP 团队

关于

Spring LDAP 是一个用于简化 LDAP 操作的 Java 库,基于 Spring 的 JdbcTemplate 模式。该框架将用户从常见的繁琐工作中解脱出来,例如查找和关闭上下文、循环遍历结果、编码/解码值和过滤器等等。

LdapTemplate 类封装了传统 LDAP 编程中涉及的所有管道工作,例如创建 DirContext、循环遍历 NamingEnumerations、处理异常和清理资源。这让程序员可以处理重要的事情——在哪里找到数据(DN 和过滤器)以及如何处理它(映射到和从域对象、绑定、修改、解绑等等),就像 JdbcTemplate 将程序员从所有除了实际 SQL 和数据如何映射到域模型之外的工作中解脱出来一样。

除此之外,Spring LDAP 还提供事务支持、一个连接池库、一个对象-目录映射 (ODM) 框架、一个带有 Spring Batch 集成的 LDIF 解析库、从 NamingExceptions 到镜像的未检查异常层次结构的异常转换,以及用于处理过滤器、LDAP 路径和属性的多个实用程序。

Spring LDAP 需要 J2SE 1.4 或更高版本才能运行,并支持 Spring Framework 2.0.x、2.5.x 以及 3.0.x。从源代码构建发行版二进制文件需要 J2SE 1.4 或更高版本。对于 1.2.1 版,从源代码构建时还需要安装 JavaCC 4.0。对于 1.3.x 版则不需要,因为它使用 Maven2,它在后台处理所有此类依赖项。

从何开始

从上面的链接下载分发包。分发包包含详尽的 JavaDoc 文档以及完整的参考文档和示例应用程序,说明了使用 Spring LDAP 的不同方式。

支持

支持可在 Spring LDAP 支持论坛上获得
Bug 报告、增强请求和补丁应提交至 JIRA 问题跟踪器

源代码

源代码可在 Spring Framework Subversion 存储库中获取
http://src.springframework.org/svn/spring-ldap/trunk(最新源代码)
http://src.springframework.org/svn/spring-ldap/tags/spring-ldap-1.3.1.RELEASE(1.3.1 源代码)

Maven 用户

所有生产版本的工件将从中央 Maven 存储库中获取。或者,您可以指定 SpringSource 发布存储库

<repositories>
    <repository>
        <id>spring-release</id>
        <url>http://maven.springframework.org/release</url>
    </repository>
</repositories>

1.3.1.RELEASE 中的依赖项是

<dependency>
    <groupId>org.springframework.ldap</groupId>
    <artifactId>spring-ldap-core</artifactId>
    <version>1.3.1.RELEASE</version>
</dependency>
<dependency>
    <groupId>org.springframework.ldap</groupId>
    <artifactId>spring-ldap-core-tiger</artifactId>
    <version>1.3.1.RELEASE</version>
</dependency>
<dependency>
    <groupId>org.springframework.ldap</groupId>
    <artifactId>spring-ldap-odm</artifactId>
    <version>1.3.1.RELEASE</version>
</dependency>
<dependency>
    <groupId>org.springframework.ldap</groupId>
    <artifactId>spring-ldap-ldif-core</artifactId>
    <version>1.3.1.RELEASE</version>
</dependency>
<dependency>
    <groupId>org.springframework.ldap</groupId>
    <artifactId>spring-ldap-ldif-batch</artifactId>
    <version>1.3.1.RELEASE</version>
</dependency>

发布候选版本和里程碑版本可从 Spring Source 里程碑存储库中获取

<repositories>
    <repository>
        <id>spring-milestone</id>
        <url>http://maven.springframework.org/milestone</url>
    </repository>
</repositories>

每夜快照可从 Spring Source 快照存储库中获取

<repositories>
    <repository>
        <id>spring-snapshot</id>
        <url>http://maven.springframework.org/snapshot</url>
    </repository>
</repositories>

1.3.2.CI-SNAPSHOT 的依赖项是
<dependency>
    <groupId>org.springframework.ldap</groupId>
    <artifactId>spring-ldap-core</artifactId>
    <version>1.3.2.CI-SNAPSHOT</version>
</dependency>
<dependency>
    <groupId>org.springframework.ldap</groupId>
    <artifactId>spring-ldap-core-tiger</artifactId>
    <version>1.3.2.CI-SNAPSHOT</version>
</dependency>
<dependency>
    <groupId>org.springframework.ldap</groupId>
    <artifactId>spring-ldap-odm</artifactId>
    <version>1.3.2.CI-SNAPSHOT</version>
</dependency>
<dependency>
    <groupId>org.springframework.ldap</groupId>
    <artifactId>spring-ldap-ldif-core</artifactId>
    <version>1.3.2.CI-SNAPSHOT</version>
</dependency>
<dependency>
    <groupId>org.springframework.ldap</groupId>
    <artifactId>spring-ldap-ldif-batch</artifactId>
    <version>1.3.2.CI-SNAPSHOT</version>
</dependency>

Spring Integration 的 Maven 配置

发布 | Mark Fisher | 2010年11月30日 | ...

依赖

在 POM 的 <dependencies> 部分添加以下内容

<dependency>
   <groupId>org.springframework.integration</groupId>
   <artifactId>spring-integration-core</artifactId>
   <version>2.2.3.RELEASE</version>
</dependency>

这将使“spring-integration-core”模块可用于您的项目(“core”包括消息 API 和企业集成模式支持)。如果您想使用任何适配器或对 XML、Groovy 和/或 Spring Security 的支持,您可以将以下一个或多个作为“artifactId”值添加

  • spring-integration-event
  • spring-integration-feed
  • spring-integration-file
  • spring-integration-ftp
  • spring-integration-groovy
  • spring-integration-http
  • spring-integration-ip
  • spring-integration-jdbc
  • spring-integration-jms
  • spring-integration-jmx
  • spring-integration-mail
  • spring-integration-rmi
  • spring-integration-security
  • spring-integration-sftp
  • spring-integration-stream
  • spring-integration-test
  • spring-integration-twitter
  • spring-integration-ws
  • spring-integration-xml
  • spring-integration-xmpp

注意:以上列出的任何模块都将作为传递依赖项引入“core”模块,因此如果您至少使用其中一个,则无需在 POM 中包含它。此外,一些…

Spring Integration 2.0 GA 发布 (2010年11月)

发布 | Adam Fitzgerald | 2010年11月29日 | ...

如果您错过了,上周 Mark Fisher 宣布 Spring Integration 2.0 已正式发布 (GA)。参考手册中有一个 “Spring Integration 2.0 新特性?” 部分,对于现有 1.0 用户来说是一个很好的起点,并提供了指向手册中详细解释新特性的相关部分的多个链接。Mark 的博客还涵盖了相关的 Maven POM 条目和供社区尝试的 示例应用程序

还有一个题为 “使用 Spring 构建消息驱动的架构” 的近期网络研讨会,其中对 Spring 对 ApplicationEvents、JMS、AMQP、任务执行和调度的支持进行了相当广泛的概述。此外,还演示了许多适配器:REST、SOAP、电子邮件、XMPP 和 Twitter。对于希望在一个小时内尽可能多地了解 Spring Integration 及其在 Spring 平台中的定位的任何人,都强烈推荐观看此次网络研讨会。

下载 | 参考手册 | 网络研讨会 | 论坛 | 问题跟踪器

Spring Android 1.0.0.M1 发布

版本发布 | Roy Clarkson | 2010年11月20日 | ...

亲爱的Spring社区,

我们很高兴地宣布,Spring Android 项目的首个里程碑版本现已发布!

Spring Android 支持在 Android 环境中使用 Spring Framework。1.0.0.M1 版本的核心功能是 RestTemplate 支持,它为原生 Android 应用程序提供了一个强大的 REST 客户端。

为了帮助您入门,Keith 发布了一篇名为“Spring into Mobile Application Development”的博客,该博客深入介绍了该项目。

这个里程碑标志着未来激动人心的道路的开端。如果您正在构建与 Spring Web 应用程序通信的原生 Android 应用程序,我们邀请您加入 Spring Android 项目的开发!

Spring Mobile 1.0.0.M1 发布

版本发布 | Roy Clarkson | 2010年11月19日 | ...

亲爱的Spring社区,

我们很高兴地宣布 Spring Mobile 项目的第一个里程碑版本现已可用!

Spring Mobile 提供了 Spring MVC 的扩展,有助于跨平台移动 Web 应用程序的开发。1.0.0.M1 版本的决定性特性是支持服务器端设备检测。

为了帮助您入门,Keith 发布了一篇 “Spring 移动应用开发” 博客,其中深入介绍了该项目。

此里程碑是激动人心的道路上的第一步。我们邀请您参与 Spring Mobile 的开发,并期待您的反馈!

SpringSource Tool Suite 2.5.1 发布

发布 | Christian Dupuis | 2010年11月12日 | ...

尊敬的 Spring 社区

我很高兴地宣布,我们刚刚发布了 SpringSource Tool Suite (STS) 2.5.1.RELEASE。

新版本的一些亮点

  • 新功能使 Spring Roo 1.1.0.RELEASE 更强大
  • 支持 tc Server 2.1,包括 Spring Insight
  • Grails 项目现在可以直接从 STS 部署到 tc Server;只需将应用程序拖到服务器上,并确保启动新的 Spring Insight 来分析你的应用程序
  • Groovy 代码调试增强功能
  • JDT 编织默认启用

有关新功能和错误修复的更多详细信息,请参阅新功能和值得注意文档。还提供了详细的安装说明

与往常一样,下载可从 STS 下载页面获取。如果你有任何问题或疑问,请随时访问社区支持论坛

Spring Social 1.0.0 里程碑 1 现已发布

版本发布 | Craig Walls | 2010年11月03日 | ...

亲爱的Spring社区,

我们很高兴地宣布 Spring Social 1.0 的第一个里程碑版本现已可用!

Spring Social 支持开发面向社交的应用程序,将您的应用程序用户与他们常去的社交网络联系起来。Greenhouse 参考应用程序也展示了 Spring Social 的强大功能。

Spring Social 1.0.0-M1 包含以下核心功能:

  • 用于与 Twitter、Facebook、LinkedIn、TripIt 和 Greenhouse 交互的社交模板
  • 一个支持 OAuth 的连接工厂,用于使用 OAuth 身份验证详细信息对 RestTemplate 请求进行签名
  • 一个 Web 参数解析器,用于在 Spring MVC 控制器中提取 Facebook 用户 ID 和访问令牌信息

为了帮助您入门,我发布了 “社交化 Spring 应用程序”,这是对 Spring Social 的介绍。

此里程碑版本仅仅是开始。我们期待您的反馈,以帮助我们塑造 Spring Social。

下载 | Javadoc API

Spring 3.0.5 现已发布

发布 | Adam Fitzgerald | 2010年10月29日 | ...

在上一周的 SpringOne 2GX 会议引起的各种新闻和兴奋中,我们错过了 Spring 3.0.5 现已发布的消息。此版本解决了 80 多个小问题,并对 Spring 表达式语言 (SpEL)、注解支持和嵌入式数据库进行了一些小的改进。请务必阅读变更日志以获取所有详细信息。

下载 | 文档 | Javadoc API | 变更日志 | JIRA

请记住,Spring 用户可以在 社区论坛中提问,并在 JIRA 中报告问题。

Spring ActionScript 1.1 发布

发布 | Adam Fitzgerald | 2010年10月29日 | ...

尊敬的社区:

我们很高兴地宣布 Spring ActionScript 1.1 现已发布。

下载 | API 文档 | HTML 文档 | 变更日志

除了修复一系列 bug 外,此版本还增加了以下新特性和增强功能:

  • 组件扫描和上下文 XML 命名空间
  • 测试框架
  • PostConstruct、PreDestroy 和 Inject 元数据

有关此版本的详细信息包含在 Spring ActionScript 博客中。社区成员可以在社区 论坛上提问,并在 JIRA 中报告问题。

获取 Spring 新闻通讯

通过 Spring 新闻通讯保持联系

订阅

领先一步

VMware 提供培训和认证,助您加速进步。

了解更多

获得支持

Tanzu Spring 提供 OpenJDK™、Spring 和 Apache Tomcat® 的支持和二进制文件,只需一份简单的订阅。

了解更多

即将举行的活动

查看 Spring 社区所有即将举行的活动。

查看所有