So, one of the things I would like to have is virtual domains. E.g., I want to run one Wildfire server and support multiple domains on it. Now, Jive has indicated that they’‘re planning this, but that it’‘s not a near-future thing. I’'d like to see if I can implement it, or at least gather all the requirements and make a design decision.
Some questions:
-
Could the online documentation/javadocs be rebuilt? They’'re still at 2.6.2.
-
Is there a high-level overview somewhere of how everything fits together?
-
Are there any other useful resources devoted to this particular issue? I’'ve seen lots of feature requests in the forums, but nothing going any further than that.
So, let’‘s see if I can think of things that have to change to support this. Please correct me if I’‘m wrong, or add things to my list. Also, I’'d like to take this in steps, starting by looking at the c2s parts, then the s2s part, and then the conference/MUC and other parts.
-
The database has simple username columns everywhere. These don’'t contain the host, just the user part of a JID. This should be changed. Either the column should be made longer to support the full JID in the column or separate columns should be added to contain the hostname for a JID. There might be a problem with the index sizes (in MySQL, at least).
-
The server needs to respond to client streams with the appropriate hostname depending on the JID requesting the connection.
-
The server may or may not select a different SSL certificate depending on the domain used. This is necessary if the SSL cert actually refers to a fixed name – it’'s not important if the server is just using the default John Doe certificates.
What am I missing here? Tips? What parts of the code are especially relevant?