powered by Jive Software

Multi Domain patch

Hello

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 want to have one single administration interface and be able to add user@domainA.com and user@domainB.com, I want

userA to login as user@domainA.com and userB to login as user@domainB.com I want to be able to have the same username

in both domains so support@domainA.com is different from support@domainB.com.

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.

Thanks