Paginate on LDAP server which does not support PagedResultsControl
问题 I'm trying to get all entries on an LDAP server using Spring LDAP (version 2.3.2). Within my code, I make use of PagedResultsDirContextProcessor to paginate through all the result. This works fine on the servers which support PagedResultsControl . However, I now need to connect to an LDAP server which does not support PagedResultsControl . How can I get all entries without using PagedResultsControl ? 回答1: You can use VirtualListView via JNDI. You have to retrieve and re-supply the 'contextID'