public void setFollowReferralsEnabled(boolean followReferrals) {
        this.followReferrals = followReferrals;
        properties.put("ldap.autoFollowReferrals", String.valueOf(followReferrals));
    }
Sets whether LDAP referrals should be automatically followed.

@param followReferrals true if LDAP referrals should be automatically followed.
xmppserver/src/main/java/org/jivesoftware/openfire/ldap/LdapManager.java