LDAP Sorting

I’m attempting to leverage “sortControlSupported” set to “true” as part of my LDAP configuration. From what I can tell, this is working corrected with my LDAP server; but only on ascending queries.

For queries that sort as “desc”, the following error is thrown which appears to be a hardcoded exception within LdapUserQueryImpl.java:

The LDAP identity provider does not support descending search order.

Why is descending sorting disabled but ascending is not?

In addition, if descending is so problematic, why does the Admin webapp default to descending on the user list? It appears to create an issue where you can’t even sort ascending as the failed call seems to remove the sorting icon all together.

1 Like