Openfire auth mech


I write a custom authentication implementation for my company and I don’t understand:

When user connect to jabber and send username and password how I may get information after @ symbol ?

Example I need this part if username send I have a lot of domain’s.

Openfire does not support multiple (aka. virtual) domains.