Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-6829

Move LDAP codec, SSL, and SASL processing out of Grizzly transport

    Details

    • Type: Task
    • Status: Done
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 7.0.0
    • Fix Version/s: Not applicable
    • Component/s: core apis, tech-debt
    • Labels:
      None

      Description

      Before replacing the Grizzly transport a first step would be to simplify it by moving all the complex LDAP, SSL, and SASL processing out of the transport and instead make it the responsibility of the core SDK. Conceptually this would mean that a transport driver would implement a re-active socket implementation something like this:

      interface RxSocket {
          Publisher<ByteSequence> reader();
          Completable write(Publisher<ByteSequence> packets);
          Completable write(ByteSequence packet);
      }
      

      The transport would just be responsible for reading and writing the packets to the underlying TCP socket. The core SDK would contain a mapping layer that maps raw ByteSequence based packets to/from LdapMessage objects.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                matthew Matthew Swift
                Reporter:
                matthew Matthew Swift
                Dev Assignee:
                Matthew Swift
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: