Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/marcosbarbero/spring-security-starter-ldap
- Owner: marcosbarbero
- License: apache-2.0
- Created: 2016-07-28T15:57:24.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-07-28T18:05:23.000Z (over 8 years ago)
- Last Synced: 2024-10-15T09:06:52.527Z (3 months ago)
- Topics: ldap, ldap-autoconfiguration, spring-boot, spring-boot-security, spring-security-ldap
- Language: Java
- Size: 8.79 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Spring Security LDAP AutoConfiguration
---
Boot starter for LDAP AutoConfigurationUsage
---
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
```