conn = new ApacheLdapConnection(lc, getProviderConfig());
lc.connect();
if (useStartTLS) {
lc.startTls();
}
<BUG>if (responseTimeOut > 0) {

lc.setTimeOut(responseTimeOut);
</BUG>
}

conn = new ApacheLdapConnection(lc, getProviderConfig());
lc.connect();
if (useStartTLS) {
lc.startTls();
}
if (responseTimeOut != null) {
lc.setTimeOut(responseTimeOut.toMillis());
}
