spring-projects / spring-ldap

Spring LDAP
https://spring.io/spring-ldap
Apache License 2.0
348 stars 482 forks source link

LdapOperations with LdapQuery and DirContextProcessor is missing #462

Open l4t3b0 opened 7 years ago

l4t3b0 commented 7 years ago

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.

kchobantonov commented 5 years ago

also the following 2 new methods will be also useful

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

MichelDEVde commented 1 year ago

What is the status on this?