Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marcosbarbero/spring-security-starter-ldap

Ldap autoconfiguration
https://github.com/marcosbarbero/spring-security-starter-ldap

ldap ldap-autoconfiguration spring-boot spring-boot-security spring-security-ldap

Last synced: about 2 months ago
JSON representation

Ldap autoconfiguration

Awesome Lists containing this project

README

        

Spring Security LDAP AutoConfiguration
---
Boot starter for LDAP AutoConfiguration

Usage
---
This project is available on maven central and can be used add the following dependency

```

com.marcosbarbero.core
spring-security-starter-ldap
1.0.0.RELEASE

```

After that configure the following properties on application.yml(properties)
```
# Ldap
ldap:
userDn: $userDn
password: $password
urls:
- "ldap://$host:$port"
dnPattern:
- "uid={0},ou=people"
- "cn={0},ou=people"
user-search-base: $userSearchBase
user-search-filter: $userSearchFilter
group-search-base: $groupSearchBase
group-search-filter: $groupSearchFilter
role-prefix: $rolePrefix
```