we are using our Openfire within our corporate environment with more than 13000 registered accounts.
We often had requests to change the username because somebody married and changed the family name.
Our usernames are a combination of the forename and the surname like forename.surname@jabberserver.
So we need to edit the usernames, but sadly Openfire does not support that because the username is unique and the primary key for nearly all user relations in the database.
So I created a plugin that creates a new user and copies all the roster entries, groups, password, preferences, vcard et cetera from an other user and deletes the old user (if you want). You can also create just a copy from an existing user for testing purpose or something like that.
This is the first version of the plugin, so use it on your own risk. You might keep the old user in database as long as your sure everything works as intended!
If you find some bugs feel free to comment, create tickets (if your allowed to) or fix it on your own. Sourcecode is available in openfire svn trunk.