grishick / zimbra-openfire

Zimbra authentication plugin for OpenFire XMPP server
1 stars 0 forks source link

Overview

A video walk-through of these instructions is available here: https://www.youtube.com/watch?v=kFGahQvL9Gk These instructions are part of the set of instructions for setting up ZCS Chat feature: http://wiki.eng.zimbra.com/index.php/ZimbraIM/ These instructions were tested with OpenFire 3.10.2

Download and install OpenFire

OpenFire is an XMPP server written in Java. It can be downloaded from Igniterealtime's website http://www.igniterealtime.org/projects/openfire/. Follow OpenFire installation instructions with all default options.

Install Zimbra OpenFire plugin to OpenFire

Authentication against Zimbra SOAP interface is implemented by a custom java library (ZimbraOpenFire). The source code is in ZimbraFOSS/ZimbraOpenFire project. You need the following jar files that are produced by “dist” ANT target in ZimbraOpenFire project:

Copy these jar files to OpenFire's lib folder (on Mac it is /usr/local/openfire/lib). On Mac, you have to copy these files as root. Restart OpenFire.

Configure Zimbra authentication for OpenFire

Open OpenFire admin UI on port 9090 (http://your-open-fire-host:9090). You should be able to log in with default admin credentials that you created during installation.

Change provider classes

Navigate to “Server”/“System Properties” and change the following settings:

This is what System Properties section looks like in OpenFire Admin UI: ![]

Set custom properties for Zimbra authentication

Still in “System Properties” add the following settings that will be used by ZimbraAuthProvider and ZimbraUserProvider classes to talk to Zimbra SOAP interface.

  • Set zimbraUserProvider.adminLogin to your ZCS admin's user name. This does not have to be a global admin. This admin user has to have permissions to search and load []: OpenFireSystemProps.png "fig:OpenFireSystemProps.png"