Type: New Feature
Affects Version/s: None
XMPP-Core bis says :
If there is already a connected resource of the same name, the server MUST do one of the following:
1. Not accept the resource identifier provided by the client but instead override it with an XMPP resource identifier that the server generates.
2. Terminate the current resource and allow the newly-requested resource.
3. Disallow the newly-requested resource and maintain the current resource.
Which of these the server does is up to the implementation, although it is RECOMMENDED to implement case #1.
Currently ejabberd implements #2. It could be implemented #3 (or even also #1) and be configurable.