OF-1339: Prepare websocket plugin for merge into core.
Openfire 4.2.0 will have the functionality that's now in the websocket plugin. As a result,
this plugin should not be used in Openfire 4.2.0. To facilitate this, we've defined a new concept
of 'priorToServerVersion' in OF-1353.
This commit defines that the plugin should only be used in Openfire instances prior to version 4.2.0.
OF-1362: Update version number of websocket plugin.
Dele Olajide <dele@traderlynk.com>
bb9d52c02b3dd9989469fe5cf9fa40235bfb85b6
websocket plugin has been broken since Openfire 4.1.4. This PR implements the missing code and fixes the issue
@Override
public ConnectionConfiguration getConfiguration()
{
// TODO Here we run into an issue with the ConnectionConfiguration introduced in Openfire 4:
// it is not extensible in the sense that unforeseen connection types can be added.
// For now, null is returned, as this object is likely to be unused (its lifecycle is
// not managed by a ConnectionListener instance).
return null;
}