Page 1 of 1

Autologin Plugin using external table

Posted: Mon Sep 10, 2007 5:11 pm
by Skruu
I'm writing my first plugin for Joomla 1.5.
The goal I'm trying to achieve is an autologin plugin, using user and client data from external database. I want to use Joomla 1.5 for an Intranet and I don't have access to a decent LDAP.

When a user logs in into windows, their username, ip-address, date and time are logged in a separate MySQL table.
I wrote a authentication plugin based on the original Joomla Authentication plugin. When a user clicks "Login" in the Login Form, the plugin queries the seperate MySQL table for the ip-address of the client, returns the corresponding username and logs the user in into Joomla without filling in a username or password.

The next step is adapting the existing plugin or creating a new plugin so that the user gets logged in automatically when accessing the website, but I'm not sure how to proceed.

Do I have to use the onAfterInitialise function (like in the "System - Remember Me"-plugin) or is there another (better) solution?

Re: Autologin Plugin using external table

Posted: Fri Jan 04, 2008 10:45 pm
by mikeh1980
Hello,

How did you go with this module? Has it been released?

Mike

Re: Autologin Plugin using external table

Posted: Fri Jan 04, 2008 11:44 pm
by Skruu
I have a test environment with a working test autologin plugin, but I haven't fully debugged it yet.
The intranet-project has been pushed a bit forward in time and I haven't had the time to complete the plugin.
Once it's done and if the quality of the plugin satisfies me, I'll consider releasing it.

Re: Autologin Plugin using external table

Posted: Wed Feb 06, 2008 4:14 am
by paullehat
I've been looking for a new auto login for Joomla. Any news on progress?