Connectionconn=DefaultConnectionFactory.getConnection("ldap://directory.ldaptive.org");try{conn.open();VirtualListViewClientclient=newVirtualListViewClient(conn,newSortKey[]{newSortKey("uid","caseExactMatch"),newSortKey("givenName","caseIgnoreMatch")});SearchRequestrequest=newSearchRequest("dc=ldaptive,dc=org","(givenName=d*)","cn","sn");Response<SearchResult>response=client.execute(request,newVirtualListViewParams(0,0,4));// get the first 5 entries// examine the response and then execute another searchresponse=client.execute(request,newVirtualListViewParams(5,0,4),response);// get the next 5 entries}finally{conn.close();}
Provider Support
JNDI
JLDAP
Apache LDAP
UnboundID
OpenDJ
✓
✓
✶
✓
✓
✓
Functionality exists in the provider API and has been confirmed
✗
Functionality does not exist in the provider API
✶
Functionality exists in the provider API, but did not work in our test environment
?
Functionality exists in the provider API, but has not been integrated into the ldaptive provider