directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRSERVER-1168) StartTLS API activation not Working with addExtendedOperationHandler()
Date Fri, 25 Apr 2008 09:01:55 GMT
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.


Mime
View raw message