@Override
    public void bind(LdapConfigBean config, IAsyncResultHandler<ILdapResult> handler) {
        DefaultLdapClientConnection.bind(socketFactory, config, handler);
    }
Set a custom socket factory, if needed (for TLS).
gateway/engine/core/src/main/java/io/apiman/gateway/engine/impl/DefaultLdapComponent.java