百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

spring-ldap

> 编程语言
开源

Spring LDAP

374 stars0 点赞3 次浏览
访问官网GitHub

工具介绍

Spring LDAP

link:https://gitter.im/spring-projects/spring-ldap[image:https://badges.gitter.im/spring-projects/spring-ldap.svg[Join the chat]] link:https://github.com/spring-projects/spring-ldap/actions/workflows/ci.yml[image:https://github.com/spring-projects/spring-ldap/actions/workflows/ci.yml/badge.svg[Build Status]] link:https://ge.spring.io/scans?search.rootProjectNames=spring-ldap[image:https://img.shields.io/badge/Revved%20up%20by-Develocity-06A0CE?logo=Gradle&labelColor=02303A[Revved up by Develocity]]

= Spring LDAP

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.

For detailed information on the project, please refer to the https://docs.spring.io/spring-ldap/docs/current/reference/[reference documentation] and https://docs.spring.io/spring-ldap/reference/api/java/index.html[Javadocs]. See https://github.com/spring-projects/spring-ldap/releases[the changelog] for detailed information on changes in the latest version.

== Code of Conduct This project adheres to the Contributor Covenant https://github.com/spring-projects/.github/blob/main/CODE_OF_CONDUCT.md[code of conduct]. By participating, you are expected to uphold this code. Please report unacceptable behavior to [email protected].

== Downloading Artifacts See https://docs.spring.io/spring-ldap/reference/getting-spring-ldap.html[Getting Spring LDAP] for how to obtain Spring LDAP.

== Documentation

Be sure to read the https://docs.spring.io/spring-ldap/reference/[Spring LDAP Reference]. Extensive Javadocs for the Spring LDAP code is also available in the https://docs.spring.io/spring-ldap/reference/api/java/index.html[Spring LDAP API Documentation].

You may also want to check out https://github.com/spring-projects/spring-ldap/releases[the change log for new features].

== Building from Source

Spring LDAP uses a https://gradle.org[Gradle]-based build system. In the instructions below, https://vimeo.com/34436402[`./gradlew`] is invoked from the root of the source tree and serves as a cross-platform, self-contained bootstrap mechanism for the build.

=== Prerequisites https://docs.github.com/en/get-started/quickstart/set-up-git[Git] and the https://www.oracle.com/java/technologies/downloads/#java25[JDK25 build].

Be sure that your JAVA_HOME environment variable points to the jdk-25 folder extracted from the JDK download.

=== Check out sources [source,shell,indent=0]

git clone [email protected]:spring-projects/spring-ldap.git

=== Install all spring-*.jar into your local Maven repository.

[source,shell,indent=0]

./gradlew publishToMavenLocal

=== Compile and test; build all JARs, distribution zips, and docs

[source,shell,indent=0]

./gradlew build

The reference docs are not currently included in the distribution zip. You can build the reference docs for this branch by running the following command:

[source,shell,indent=0]

./gradlew antora

That command publishes the docs site to the _build/site_ directory. The https://github.com/spring-projects/spring-ldap/tree/docs-build[playbook branch] describes how to build the reference docs in detail.

Discover more commands with ./gradlew tasks.

== Getting Support Check out the https://stackoverflow.com/questions/tagged/spring-ldap[Spring LDAP tags on Stack Overflow]. https://spring.io/support[Commercial support] is available too.

== Contributing https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request[Pull requests] are welcome; see the xref:CONTRIBUTING.adoc[contributor guidelines] for details.

== License Spring LDAP is Open Source software released under the https://www.apache.org/licenses/LICENSE-2.0.html[Apache 2.0 license].

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Java

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言