Skip to content

LdapOperations with LdapQuery and DirContextProcessor is missing #462

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
l4t3b0 opened this issue Aug 1, 2017 · 2 comments
Open

LdapOperations with LdapQuery and DirContextProcessor is missing #462

l4t3b0 opened this issue Aug 1, 2017 · 2 comments

Comments

@l4t3b0
Copy link

l4t3b0 commented Aug 1, 2017

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
Copy link

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
Copy link

What is the status on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants