[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#3435) JLDAP - Use DSMLv2 as you would LDAP



Full_Name: Marc Boorshtein
Version: 
OS: 
URL: ftp://ftp.openldap.org/incoming/Marc-Boorshtein-121104-DsmlConnection.patch
Submission from: (NULL) (67.173.164.229)


Linked is a patch on the JLDAP sources in HEAD that allows for a DsmlConnection
to be created and dropped into an existing JLDAP application.  This patch will
only work on synchronous operations.  Binds are supported via HTTP Basic
Authentication.  There are 3 new files involved:
com.novell.ldap.DsmlConnection - The connection class, subclass of
LDAPConnection
com.novell.ldap.DSMLSearchResults - The search results holder, subclass of
LDAPSearchResults
com.novell.ldap.util.HttpRequestCallback - A callback interface that allows for
manipulation of the HTTP request and is usefull for adding additional HTTP
headers

This patch also includes a default constructor on LDAPSearchResults to
facilitate DSMLSearchResults subclassing.

In addition to this patch, jakarta commons http client library is required.