Questions tagged [spring-data-ldap]

Spring Data for Spring LDAP is part of the umbrella Spring Data project which aims to provide a familiar and consistent Repository abstractions for new Spring LDAP.

The Spring Data LDAP project aims to provide familiar and consistent repository abstractions for Spring LDAP.

Spring Data LDAP provides similar abstraction which provides the automatic implementation of Repository interfaces that include basic CRUD operation for LDAP directories.

Project Page: https://spring.io/projects/spring-data-ldap

GitHub Repository: https://github.com/spring-projects/spring-data-ldap

Reference Doc.: https://docs.spring.io/spring-data/ldap/docs/current/reference/html/

API Doc.: https://docs.spring.io/spring-data/ldap/docs/current/api/

7 questions
3
votes
1 answer

spring.data.ldap with multiple spring.ldap.urls in application.properties

We use an LdapRepository within a Spring Boot project. The repo is auto-generated with a few additional query methods. We now have a second Active Directory domain server, and would like to add that to our Spring configuration. Before the…
2
votes
0 answers

Spring-Data-LDAP alternative for "in" query

Is there any alternative for IN queries in Spring-Data-LDAP? I'm facing a problem in order to retrieve users from an email list: The Spring-Data query is something like the following: this.ldapUserRepository.findByEmailIn(emailList); where…
Jaumzera
  • 2,305
  • 1
  • 30
  • 44
1
vote
1 answer

LDAP: error code 21 - XXXActive: value #0 invalid per syntax - spring-data-ldap

I'm using spring-data-ldap with OOM and my own schema containing a boolean property. When I try to store a value in or read a value from openLDAP, I get the exception javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 21 -…
Alexander
  • 2,925
  • 3
  • 33
  • 36
0
votes
0 answers

Handle Date data type with spring data ldap

I am using spring-data-ldap to find all the users who are created or modified in a certain date range. My UserRepository package com.test.service.ldap.com; import org.springframework.data.ldap.repository.LdapRepository; import…
Akshay
  • 1,735
  • 6
  • 21
  • 29
0
votes
0 answers

Unable to bind with active directory

I'm new in this domain and trying to bind with active directory using spring ldap client in java. I have already googled this and tried every given solution on internet but it didn't work for me. I'm getting following…
M A.
  • 949
  • 2
  • 12
  • 29
0
votes
1 answer

not able to fetch custom attributes from AD using spring-data-ldap

I am connecting to the Active Directory using spring-data-LDAP. I have used domain admin user credentials to connect to the AD. The application.properties configurations…
Sanal M
  • 187
  • 4
  • 17
0
votes
1 answer

Spring-Data LDAP missing some attributes

I have a Spring-Data LDAP repository configured as the following: public interface LdapUserRepository extends LdapRepository { Set findByNameLike(String name); Optional findByAccount(String account); …
Jaumzera
  • 2,305
  • 1
  • 30
  • 44