Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-1168

StartTLS API activation not Working with addExtendedOperationHandler()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.2
    • 1.5.3
    • ldap
    • None

    Description

      To activate StartTLS - the following code should work :

      ldapServer.setEnableLdaps(false)
      ldapServer.addExtendedOperationHandler(new
      StartTlsHandler());
      ldapServer.start();

      However it does not because addExtendedOperationHandler is not correctly implemented.

      This code does work to startTLS

      Collection<ExtendedOperationHandler> handlers =
      new ArrayList<ExtendedOperationHandler>();
      handlers.add(new StartTlsHandler());
      ldapServer.setExtendedOperationHandlers(handlers);

      Attachments

        Activity

          People

            akarasulu Alex Karasulu
            harakiri Steve
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: