设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

Spring LDAP 2.0.2发布

2014-7-2 09:55| 发布者: joejoe0332| 查看: 1994| 评论: 0|原作者: oschina|来自: oschina

摘要:   Spring LDAP 是一个用于操作 LDAP 的 Java 框架。它是基于 Spring 的 JdbcTemplate 模式。这个框架能够帮助开发人员简化 looking up,closing contexts,looping through NamingEnumerations,encoding/decoding ...

  Spring LDAP 是一个用于操作 LDAP 的 Java 框架。它是基于 Spring 的 JdbcTemplate 模式。这个框架能够帮助开发人员简化 looking up,closing contexts,looping through NamingEnumerations,encoding/decoding values与 filters 等操作。


  Spring LDAP 2.0.2 发布,此版本着重于确保先后兼容性,移除了废弃的方法和类,迁移到了心的方法,类和 API。


  Spring LDAP 2.0 主要更新内容如下:


  • Java 6 is now required by Spring LDAP. Spring versions starting at 2.0 and up are still supported.

  • The central API 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 inLdapOperations/LdapTemplate that use this automatic translation to/from ODM-annotated classes.  Object-Directory Mapping (ODM)

  • A custom XML namespace is now (finally) provided to simplify configuration of Spring LDAP.  Configuration

  • Spring Data Repository and QueryDSL support is now provided in Spring LDAP. Spring LDAP Repositories

  • Name instances as attribute values are now handled properly with regards to distinguished name equality in DirContextAdapter and ODM. See DirContextAdapter and Distinguished Names as Attribute Values. and ODM and Distinguished Names as Attribute Values. for more information.

  • DistinguishedName and associated classes have been deprecated in favor of standard Java LdapName. See Dynamically Building Distinguished Names for information on how the library helps working with LdapNames.

  • Fluent LDAP query building support has been added. This makes for a more pleasant programming experience when working with LDAP searches in Spring LDAP. See Building LDAP Queries and Advanced LDAP Queries for more information about the LDAP query builder support.

  • The old authenticate methods in LdapTemplate have been deprecated in favor of a couple of new authenticate methods that work with LdapQuery objects and throw exceptions on authentication failure.

  • The samples have been polished and updated to make use of the features in 2.0.  LDAP user management application


  更多内容请看这里

酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部