Skip to content
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

LdapTemplate.find method is NOT taking the attributesToReturn from LdapQuery #465

xuweigui opened this issue Sep 19, 2017 · 0 comments


None yet
1 participant
Copy link

commented Sep 19, 2017

LdapQuery allows user to set attributesToReturn, but when calling this method

public <T> List<T> find(LdapQuery query, Class<T> clazz).

The attributes are just ignored, and overwritten by following code in "public List find(Name base, Filter filter, SearchControls searchControls, final Class clazz)"

String[] attributes = this.odm.manageClass(clazz);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.