Emmanuel Lecharny wrote:
> Apache Directory Server 1.5.5 released !
> ----------------------------------------
>
> The Apache Directory team is proud to announce that the long
expected
> 1.5.5 version has been released yesterday.
>
> Downloads are available at
> http://directory.apache.org/apacheds/1.5/downloads.html
Migration from rev 772090 (snapshot 1.5.5) to 1.5.5
We have embedded the server:
- LdapService has been renamed to LdapServer : setTcpTransport and
setEnableLdaps have been removed
how to start ldap server now ?
below the code with LdapService
ldapService.setDirectoryService(service);
ldapService.setTcpTransport(new TcpTransport(iPort));
ldapService.setAllowAnonymousAccess(allowAnonymousAccess);
ldapService.setEnableLdaps(useSSL);
if (useSSL)
{
// to specify a certificate
// If not then auto generated certificate
if ((keyStorePath != null) && (keyStorePath.length() > 0))
{
ldapService.setKeystoreFile(keyStorePath);
if ((certificatePassword != null)
&& (certificatePassword.length() > 0))
ldapService.setCertificatePassword(certificatePassword);
}
}
service.setDenormalizeOpAttrsEnabled(true);
// And start the service
service.startup();
ldapService.start();
- is Jetty mandatory ?
if not, jetty-6.1.14.jar, jetty-util-6.1.14.jar and
apacheds-http-integration-1.5.5.jar can be removed ?
- where I can found apacheds-core-cursor-1.5.5.jar ?
thanks for this new version
Jean-François Melian