wiki:JoomlaIntegration

Version 1 (modified by benzea, 6 years ago) (diff)

Put a page here in case others might find the Joomla integration usefull

Joomla Integration Plugin

This is a plugin that enables authentication against a Joomla! 1.0 host. It works by simply reading out the Session cookie, and using the session data from Joomla that is stored in MySQL. It also contains an authz_policy implementation that is able to authenticate against the Joomla group of the user.

Getting the Code

The code is currently only in GIT available from http://git.sipsolutions.net/joomlaplugin.git. Check it out using:

git-clone http://git.sipsolutions.net/joomlaplugin.git

Implementation

The implementation of the configuration options is not very nice. Should you know of a good way to share the DB connection and configuration between the different parts in the plugin, I would love to hear about it.

Future

There are a lot of ways to improve this plugin. One could implement embedding trac into a Joomla website. Another improvement could be to implement a login box inside Trac which returns to the original page after the login. Either by creating the session from trac, or getting Joomla to redirect the user back to the Trac website.