@Override
    public void connect(LdapConfigBean config, final IAsyncResultHandler<ILdapClientConnection> handler) {
        final LdapClientConnectionImpl connection = new LdapClientConnectionImpl(vertx, config, socketFactory);
        connection.connect(result -> {
                if (result.isSuccess()) {
                    handler.handle(AsyncResultImpl.create(connection));
                } else {
                    handler.handle(AsyncResultImpl.create(result.getError()));
                }
            });
    }
@author Marc Savy {@literal <msavy@redhat.com>}
gateway/platforms/vertx3/vertx3/src/main/java/io/apiman/gateway/platforms/vertx3/components/LdapClientComponentImpl.java