Using XMPP for internal communication

Notes about XMPP Server & Client

  • We use OpenFire 3.6.3 (OF) as our XMPP Pub/Sub Server
  • We use XMPP4R 0.4 as our XMPP Pub/Sub Client

Server Installation

  • Only PLAIN authentication currently seems to work between OF server and XMPP4R client. Therefore, to disable other type of authentication on the server side, we need to edit and change the OF config file. Before editing, stop openfire. Start it again afterwards.
 > vi /etc/openfire/openfire.xml

 # Then add the following line anywhere between the <jive> ... </jive> tags

 <sasl><mechs>PLAIN</mechs></sasl>

  • In the OF properties configuration panel, add the following property and value:
  xmpp.server.permission = open
  • In the OF properties configuration panel, make sure that the following property has the value:
  xmpp.domain = 10.0.0.200

restart the openfire server after this!
  • IMPORTANT NOTE: When changing the 'xmpp.domain' value, before ever logout the Admin Web interface, make sure that the property 'admin.authorizedJIDs' in the property panel has a valid 'user@domain' name! If not, you will not be able to login again as an admin!

XMPP-basics.pdf (184.5 kB) Javid Taheri, 12/08/2008 01:06 pm