public void setStartTlsEnabled(boolean startTlsEnabled) {
        this.startTlsEnabled = startTlsEnabled;
        properties.put("ldap.startTlsEnabled", Boolean.toString(startTlsEnabled));
    }
Sets whether the connection to the LDAP server should be made via StartTLS or not.

@param startTlsEnabled true if StartTLS should be used, false otherwise.
xmppserver/src/main/java/org/jivesoftware/openfire/ldap/LdapManager.java