public boolean isSslEnabled() {
        return sslEnabled;
    }
Returns true if LDAP connection is via SSL or not. SSL is turned off by default.

@return true if SSL connections are enabled or not.
xmppserver/src/main/java/org/jivesoftware/openfire/ldap/LdapManager.java