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

neil_a_wilson
20.33.2007 0e12bdbd95545009fc5840beec7d2b4daf88a1fd
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
commit0e12bdbd95545009fc5840beec7d2b4daf88a1fd
tree 66c762121d08f64779394c6f88c2dc3e4c9bfac1 tree | zip | gz
parent d8f883b573b001a3b2b077bc1e58297248001cfb 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).
1 files modified
6 files added
3293 ■■■■■ changed files
opendj-sdk/opends/src/messages/messages/protocol.properties 7 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/internal/InternalLDAPInputStream.java 497 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/internal/InternalLDAPOutputStream.java 1029 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/internal/InternalLDAPSocket.java 860 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/internal/InternalLDAPSocketFactory.java 180 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/internal/NullLDAPMessage.java 58 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/internal/InternalLDAPSocketTestCase.java 662 ●●●●● diff | view | raw | blame | history