public DefaultLdapComponent setSocketFactory(SSLSocketFactory socketFactory) {
        this.socketFactory = socketFactory;
        return this;
    }
Set a custom socket factory, if needed (for TLS).
gateway/engine/core/src/main/java/io/apiman/gateway/engine/impl/DefaultLdapComponent.java