Chat without logging in

I need to know whether it is possible for users to connect and chat in an OpenFire server/XMPP without creating an account and logging in. I just want for an user to be able to anonymously chat with another user, and I also need to know how I can write my own logic that will match these two anonymous users and start a chat. Is there any existing information on that?

Thanks in advance.