The user import/export plugin provides a way to import and export Wildfire user data via the Admin Console. The user data consists of jid (aka "username"), name, email address, password and roster list (aka "buddy list"). This plugin also can aid in the migration of users from other Jabber/XMPP based systems to Wildfire.
Copy the userImportExport.jar into the plugins directory of your Wildfire installation. The plugin will then be automatically deployed. To upgrade to a new version, copy the new userImportExport.jar file over the existing file.
Presently, there is nothing that can be configured for the user import/export plugin.
The plugin is accessed via the "User Import & Export" sidebar item located under the "Users/Groups" tab in the Admin Console. Note: if you are using LDAP as your user data source the following message will appear: "Sorry, because you are using LDAP as your user store this plugin will not work with your Wildfire installation."
<User> <Username>mike</Username> <Password>iamcool</Password> <Email>mike@mike.com</Email> <Name>Mike Jones</Name> <CreationDate>1125442154664</CreationDate> <ModifiedDate>1125442154664</ModifiedDate> <Roster> <Item jid="jane@im.olddomain.net" askstatus="-1" recvstatus="-1" substatus="3" name="Jane"> <Group></Group> </Item> <Item jid="paul@xyz.net" askstatus="-1" recvstatus="-1" substatus="3" name="Paul"> <Group></Group> </Item> </Roster> </User> |
<User> <Username>mike</Username> <Password>iamcool</Password> <Email>mike@mike.com</Email> <Name>Mike Jones</Name> <CreationDate>1125442154664</CreationDate> <ModifiedDate>1125442154664</ModifiedDate> <Roster> <Item jid="jane@im.newdomain.net" askstatus="-1" recvstatus="-1" substatus="3" name="Jane"> <Group></Group> </Item> <Item jid="paul@xyz.net" askstatus="-1" recvstatus="-1" substatus="3" name="Paul"> <Group></Group> </Item> </Roster> </User> |
<?xml version="1.0" encoding="UTF-8"?> <Wildfire> <User> <Username>joe</Username> <Password>joepwd</Password> <Email></Email> <Name></Name> <CreationDate>1125601449177</CreationDate> <ModifiedDate>1125601449177</ModifiedDate> <Roster> <Item jid="sally@localhost" askstatus="-1" recvstatus="-1" substatus="3" name="Sally"> <Group/> </Item> </Roster> </User> <User> <Username>sally</Username> <Password>sallypwd</Password> <Email></Email> <Name></Name> <CreationDate>1125601471848</CreationDate> <ModifiedDate>1125601471848</ModifiedDate> <Roster> <Item jid="joe@localhost" askstatus="-1" recvstatus="-1" substatus="3"> <Group/> </Item> </Roster> </User> </Wildfire> |
askstatus | |
---|---|
-1 | The roster item has no pending subscripton requests. |
0 | The roster item has been asked for permission to subscribe to their presence but no response has been received. |
1 | The roster owner has asked to the roster item to unsubscribe from it's presence but has not received confirmation. |
recvstatus | |
---|---|
-1 | There are no subscriptions that have been received but not presented to the user. |
1 | The server has received a subscribe request, but has not forwarded it to the user. |
2 | The server has received an unsubscribe request, but has not forwarded it to the user. |
substatus | |
---|---|
-1 | Indicates the roster item should be removed. |
0 | No subscription is established. |
1 | The roster owner has a subscription to the roster item's presence. |
2 | The roster item has a subscription to the roster owner's presence. |
3 | The roster item and owner have a mutual subscription. |