[ 
https://issues.apache.org/jira/browse/DIRSERVER-1168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Karasulu closed DIRSERVER-1168.
------------------------------------

    Resolution: Fixed

Fixed.

> 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
>            Assignee: Alex Karasulu
>             Fix For: 1.5.3
>
>
> 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