So in this thread, someone asked how to make a MultiUserChat with a password, and was given an answer which reportedly worked.
I’m also trying to create a MultiUserChat with a password, but I seem to be having no luck. My impression is that a passworded MultiUserChat should reject somebody who tries to join without a password, right? And that’s what happens when I create a room and set it to be password required through pidgin. But when I run this code, and then connect to the room without a password, I can get right in.
I attached a test case, which is mostly cut and pasted directly from the above-linked discussion. Is there some sort of error in it? Are my expectations wrong? Or does this just work for everyone but me?
TestMUC.java (2435 Bytes)