You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Alex Karasulu (JIRA)" <ji...@apache.org> on 2008/06/19 03:49:45 UTC
[jira] Closed: (DIRSERVER-1168) StartTLS API activation not Working
with addExtendedOperationHandler()
[ 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.