Spring LDAP 2.3.2

Spring LDAP is a library to simplify LDAP programming in Java, built on the same principles as Spring Jdbc.

The LdapTemplate class encapsulates all the plumbing work involved in traditional LDAP programming, such as creating, looping through NamingEnumerations, handling Exceptions and cleaning up resources. This leaves the programmer to handle the important stuff - where to find data (DNs and Filters) and what to do with it (map to and from domain objects, bind, modify, unbind, etc.), in the same way that JdbcTemplate relieves the programmer of all but the actual SQL and how the data maps to the domain model.

In addition to this, Spring LDAP provides Exception translation from NamingExceptions to an unchecked exception hierarchy, as well as several utilities for working with filters, LDAP paths and attributes.
Spring Initializr
Quickstart Your Project
Bootstrap your application with Spring Initializr.

Spring LDAP是一个在Java中简化LDAP编程的库,其构建原理与Spring Jdbc相同。
LdapTemplate类封装了传统LDAP编程中涉及的所有管道工作,例如创建、循环NamingEnumerations、处理异常和清理资源。这使得程序员能够处理重要的事情——在哪里查找数据(DNs和过滤器)以及如何处理数据(映射到域对象、绑定、修改、解除绑定等),就像JdbcTemplate解除程序员除了实际SQL之外的所有任务,以及数据如何映射到域模型一样。
除此之外,Spring LDAP还提供了从NamingExceptions到未检查的异常层次结构的异常转换,以及一些用于处理过滤器、LDAP路径和属性的实用程序。
弹簧初始化器
快速启动项目
使用Spring初始化器引导应用程序。

发布了0 篇原创文章 · 获赞 135 · 访问量 4904

猜你喜欢

转载自blog.csdn.net/blog_programb/article/details/105156098