Multiple LDAP repositories with Spring LDAP Repository
I would like to set more than one LDAP repositories with Spring LDAP. My aim is to create or update objects in all repositories at the same time. I use LdapRepository Spring interface and I think that isn't possible for now. I wonder if I can create my own LdapRepository extending the Spring one but I have no idea how to start. This my configuration : @Configuration @EnableLdapRepositories("com.xxx.repository.ldap") @PropertySource("classpath:ldap.properties") public class LdapConfiguration { @Autowired Environment ldapProperties; @Bean public LdapContextSourceCustom contextSourceTarget() {