Files
spring-data-examples/ldap/example
Oliver Gierke 5a450afa09 #251 - Polishing.
Fixed package structure in sources (nested folders instead of dot-separated ones). Removed obsolete dependency in POM and point to relative POMs.
2017-01-28 09:27:42 +01:00
..
2017-01-28 09:27:42 +01:00
2017-01-28 09:27:42 +01:00

Spring Data LDAP - Example

This project contains samples of Spring Data (LDAP).

public interface PersonRepository extends CrudRepository<Person, Name> {

  List<Person> findByUid(String uid);

  List<Person> findByLastnameStartsWith(String prefix);
}

The test cases in PersonRepositoryIntegrationTests show basic interaction to search, create and modify objects stored in a LDAP repository.