spring-ldap
spring-ldap copied to clipboard
LdapOperations with LdapQuery and DirContextProcessor is missing
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.
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 )
What is the status on this?