spring-ldap icon indicating copy to clipboard operation
spring-ldap copied to clipboard

LdapOperations with LdapQuery and DirContextProcessor is missing

Open l4t3b0 opened this issue 8 years ago • 2 comments
trafficstars

Hi

I'm missing the following methods from the LdapOperations interface and the corresponding LdapTemplate implementations:

<T> List<T> search(LdapQuery query, AttributesMapper<T> mapper, DirContextProcessor processor);
<T> List<T> search(LdapQuery query, ContextMapper<T> mapper, DirContextProcessor processor);
void search(LdapQuery query, NameClassPairCallbackHandler callbackHandler, DirContextProcessor processor);

There is a workaround the use other methods, but in that case we have to provide the SearchControls instance and therefore the defaultCountLimit, timelimit, searchScope of the LdapTemplate implementation cannot be used.

l4t3b0 avatar Aug 01 '17 10:08 l4t3b0

also the following 2 new methods will be also useful

public <T> List<T> find( LdapQuery query, Class<T> clazz, DirContextProcessor processor ) public <T> List<T> find( Name base, Filter filter, SearchControls searchControls, final Class<T> clazz, DirContextProcessor processor )

kchobantonov avatar Jan 22 '19 19:01 kchobantonov

What is the status on this?

MichelDEVde avatar Sep 20 '23 11:09 MichelDEVde