directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DIRSERVER-1168) StartTLS API activation not Working with addExtendedOperationHandler()
Date Sat, 10 May 2008 08:09:55 GMT

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

Emmanuel Lecharny updated DIRSERVER-1168:
-----------------------------------------

    Fix Version/s: 1.5.3

To be double-checked, and fixed if there is an error

> 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
>             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.


Mime
View raw message