mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
20.33.2007 dfb4f94fefa3ba20073b8fa2986b7e39d4f290a8
refs
author neil_a_wilson <neil_a_wilson@localhost>
Monday, August 20, 2007 18:33 +0200
committer neil_a_wilson <neil_a_wilson@localhost>
Monday, August 20, 2007 18:33 +0200
commitdfb4f94fefa3ba20073b8fa2986b7e39d4f290a8
tree 394bd7214d0cfbc9e72b999616e17a29ac84fc43 tree | zip | gz
parent a94b12f2ed2908ecd07aeafaddb609a9c86ec5b6 view | diff
Add a new internal LDAP socket implementation that provides a mechanism which
allows third-party LDAP SDKs to be used to perform internal operations within
the server. Rather than performing network communication, the custom socket
decodes the request written to it, converts it to an internal operation,
processes the request, and encodes the response so that it can be read from the
socket by the LDAP SDK.

This has been tested with both the Mozilla LDAP SDK for Java (which requires a
trivial custom LDAPSocketFactory implementation) and JNDI (which requires a
custom property to be set).
6 files added
1 files modified
3293 ■■■■■ changed files
opends/src/messages/messages/protocol.properties 7 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/internal/InternalLDAPInputStream.java 497 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/internal/InternalLDAPOutputStream.java 1029 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/internal/InternalLDAPSocket.java 860 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/internal/InternalLDAPSocketFactory.java 180 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/internal/NullLDAPMessage.java 58 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/internal/InternalLDAPSocketTestCase.java 662 ●●●●● diff | view | raw | blame | history