public void setUsernameSuffix(String usernameSuffix) {
        this.usernameSuffix = usernameSuffix;
        if (usernameSuffix == null) {
            properties.remove("ldap.usernameSuffix");
            this.usernameSuffix = "";
        }
        else {
            properties.put("ldap.usernameSuffix", usernameSuffix);
        }
    }
Set the suffix appended to the username whenever LDAP lookups are performed.

@param usernameSuffix the String to append to usernames for lookups
xmppserver/src/main/java/org/jivesoftware/openfire/ldap/LdapManager.java