Commit Graph

11 Commits

Author SHA1 Message Date
Oliver Gierke
f6fff99bcc DATALDAP-37 - Polishing.
Fixed capitalization of Querydsl related classes.
2017-05-19 11:00:27 +02:00
Oliver Gierke
18e5d2301c DATALDAP-37 - Adapt to API changes in QuerydslPredicateExecutor.findOne(…).
Related ticket: DATACMNS-1059.
2017-05-19 11:00:27 +02:00
Jens Schauder
4733f7e6e2 DATALDAP-35 - Adapt to API changes in repository interfaces.
Related ticket: DATACMNS-944
2017-05-03 18:02:23 +02:00
John Blum
70730ea113 DATALDAP-28 - Rename getRepositoryFactoryClassName to getRepositoryFactoryBeanClassName. 2017-03-24 13:05:40 -07:00
Mark Paluch
2569ee07eb DATALDAP-21 - Java 8 code cleanup.
Replace explicit type arguments with diamond syntax.
2017-03-24 09:24:32 +01:00
Mark Paluch
27f46fb124 DATALDAP-21 - Integrate Data Commons Java 8 upgrade branch. 2017-03-24 09:24:32 +01:00
Oliver Gierke
4a65f19223 DATALDAP-9 - Adapt API in LdapRepositoryFactoryBean.
Related ticket: DATACMNS-891.
2016-12-15 16:18:42 +01:00
Mark Paluch
5096ae32a2 DATALDAP-7 - Polishing.
Reformat code with Spring Data formatter. Add JavaDoc to overrides and constructors. Add missing assertions to public entry points. Remove since tags from JavaDoc.
2016-12-06 11:59:54 +01:00
Mark Paluch
1e35b624b7 DATALDAP-2- Support repositoryBaseClass and considerNestedRepositories in @EnableLdapRepositories annotation.
We now support nested repository interfaces and customization via EnableLdapRepositories.repositoryBaseClass.

  @Configuration
  @EnableLdapRepositories(considerNestedRepositories = true, repositoryBaseClass = CustomizedLdapRepository.class)
  public class Config {
    // …
  }
2016-12-06 11:11:49 +01:00
Mark Paluch
39b6b4d6af DATALDAP-1 - Create namespace handler and XML schema.
Spring Data LDAP now uses its own Namespace: http://www.springframework.org/schema/data/ldap. Using XML configuration for Spring LDAP and Spring Data LDAP requires both namespaces to be declared.

<beans xmlns="http://www.springframework.org/schema/beans"
		xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
		xmlns:ldap="http://www.springframework.org/schema/ldap"
		xmlns:data-ldap="http://www.springframework.org/schema/data/ldap"
		xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
		http://www.springframework.org/schema/ldap http://www.springframework.org/schema/ldap/spring-ldap.xsd
		http://www.springframework.org/schema/data/ldap http://www.springframework.org/schema/data/ldap/spring-ldap.xsd">

	<ldap:context-source password="apassword" url="ldap://localhost:389" username="uid=admin"/>

	<ldap:ldap-template/>

	<data-ldap:repositories base-package="org.springframework.data.ldap.config"/>

</beans>
2016-12-06 10:18:35 +01:00
Mark Paluch
9bbf0389e2 Initial import. 2016-11-21 15:53:45 +01:00