StartTLS API activation not Working with addExtendedOperationHandler()
----------------------------------------------------------------------

                 Key: DIRSERVER-1168
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1168
             Project: Directory ApacheDS
          Issue Type: Bug
          Components: ldap
    Affects Versions: 1.5.2
            Reporter: Steve


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);




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to