Spring Boot LDAP AutoConfigure


Лицензия

Лицензия

Категории

Категории

Spring Boot Контейнер Микросервисы Auto Библиотеки уровня приложения Code Generators config Configuration
Группа

Группа

com.github.eddumelendez.ldap
Идентификатор

Идентификатор

ldap-spring-boot-autoconfigure
Последняя версия

Последняя версия

1.0.0.RELEASE
Дата

Дата

Тип

Тип

jar
Описание

Описание

Spring Boot LDAP AutoConfigure
Spring Boot LDAP AutoConfigure
Ссылка на сайт

Ссылка на сайт

https://github.com/eddumelendez/ldap-spring-boot
Система контроля версий

Система контроля версий

https://github.com/eddumelendez/ldap-spring-boot

Скачать ldap-spring-boot-autoconfigure

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.eddumelendez.ldap/ldap-spring-boot-autoconfigure/ -->
<dependency>
    <groupId>com.github.eddumelendez.ldap</groupId>
    <artifactId>ldap-spring-boot-autoconfigure</artifactId>
    <version>1.0.0.RELEASE</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.eddumelendez.ldap/ldap-spring-boot-autoconfigure/
implementation 'com.github.eddumelendez.ldap:ldap-spring-boot-autoconfigure:1.0.0.RELEASE'
// https://jarcasting.com/artifacts/com.github.eddumelendez.ldap/ldap-spring-boot-autoconfigure/
implementation ("com.github.eddumelendez.ldap:ldap-spring-boot-autoconfigure:1.0.0.RELEASE")
'com.github.eddumelendez.ldap:ldap-spring-boot-autoconfigure:jar:1.0.0.RELEASE'
<dependency org="com.github.eddumelendez.ldap" name="ldap-spring-boot-autoconfigure" rev="1.0.0.RELEASE">
  <artifact name="ldap-spring-boot-autoconfigure" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.eddumelendez.ldap', module='ldap-spring-boot-autoconfigure', version='1.0.0.RELEASE')
)
libraryDependencies += "com.github.eddumelendez.ldap" % "ldap-spring-boot-autoconfigure" % "1.0.0.RELEASE"
[com.github.eddumelendez.ldap/ldap-spring-boot-autoconfigure "1.0.0.RELEASE"]

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
org.springframework.boot : spring-boot jar
org.springframework.boot : spring-boot-autoconfigure jar
org.springframework.data : spring-data-commons jar
org.springframework.ldap : spring-ldap-core jar 2.1.0.RELEASE

Модули Проекта

Данный проект не имеет модулей.

Spring LDAP integration with Spring Boot

Build Status

Note
This project is not under development. Spring LDAP support is provided by Spring Boot out-of-the-box since 1.5.0.RELEASE. For more info visit LDAP support in Spring Boot

This project is built on top of spring-ldap project. This project provide auto-configuration for spring-ldap.

Dependency

Maven:

<dependency>
    <groupId>com.github.eddumelendez.ldap</groupId>
    <artifactId>ldap-spring-boot-starter</artifactId>
    <version>1.0.0.RELEASE</version>
</dependency>

Gradle:

compile "com.github.eddumelendez.ldap:ldap-spring-boot-starter:1.0.0.RELEASE"

Properties

The following properties are available to customize the ContextSource.

ldap.urls= # LDAP urls
ldap.base= # Base suffix from which all operations should originate.
ldap.username= # Login user of the LDAP.
ldap.password= # Login password of the LDAP.
ldap.base-environment.*= # LDAP custom environment properties.

Using Embedded LDAP server

Unboundid SDK LDAP is provided as a embedded LDAP server and it’s auto-configured if the dependency is detected.

Add the following dependency:

Maven:

<dependency>
    <groupId>com.unboundid</groupId>
    <artifactId>unboundid-ldapsdk</artifactId>
    <version>3.1.1</version>
    <scope>test</scope>
</dependency>

Gradle:

testCompile "com.unboundid:unboundid-ldapsdk:3.1.1"

You can use the following properties to customize the embedded server:

ldap.embedded.port= # Embedded LDAP port. Use 0 for random port.
ldap.embedded.credential.username= # Embedded LDAP username.
ldap.embedded.credential.passwod= # Embedded LDAP password.
ldap.embedded.partitionSuffix= # LDAP partition suffix.
ldap.embedded.ldif= # Schema (LDIF) script resource reference.

Examples

You can check the examples here.

Версии библиотеки

Версия
1.0.0.RELEASE