I am coding a patch to Openfire 3.6.3 to allow it to work with multiples domains, let me explaing what I want:
I was able autenticate the user as user@domainA.com but I am having some problem with XMPPCallbackHandler when it is
been called with the AuthorizeCallback instance, at that point I only receive the user part “user” from user@domainA.com and when
it calls my MultiDomainUserProvider.loadUser it only pass the user part so it is not able to find the user@domainA.com and I end up with an anonymous user connected.
I anyone could point me if this is correct or what direction should I follow that would be great.