On 30 October 2020, the git repository was rewritten to remove unrelated content from this repository.
The registration plugin allows admins to configure various actions whenever a new user creates an account.
Copy the registration.jar into the plugins directory of your Openfire installation. The plugin will then be automatically deployed. To upgrade to a new version, copy the new registration.jar file over the existing file.
The registration plugin is configured via the "Registration Properties" sidebar item located in the "Users" sidebar item under the "Users/Groups" tab in the Openfire Admin Console. By default, after the registration plugin has been deployed all of its features are disabled. To enable a feature of the plugin select the checkbox next to the feature and then click on the "Save Settings" button. The registration plugin has various items that can be configured:
The format used is an XML that should look like :
<list>
<item action="deny" order="100" type="subscription" value="none">
<message/>
<presence-in/>
<presence-out/>
</item>
</list>
The enclosing list tag is needed, but none of its attributes are read. Inside it you can have multiple items.
Presently, after the registration plugin has been configured nothing else needs to be done to use it.