[Rt-devel] Request For Comments - ExternalAuth (Hoping to be RTx::ExternalAuth v0.1)

Mike Peachey mike.peachey at jennic.com
Tue Mar 11 08:55:26 EDT 2008


Afternoon everyone.

For those that don't know, I have dedicated a lot of time recently to 
creating a new External Authentication system as an extension to the 
work put together by Jim Meyer and those that came before him in 
creating an LDAP authentication system.

I have now completed the first stage of that task and I present to you 
the alpha. This version is capable of authenticating users from LDAP or 
any database for which a DBI driver is installed as well as a primitive 
cookie authentication system.

This ExternalAuth module contains four files.

1. etc/RT_SiteConfig_ExternalAuth_Generic.pm
This contains the config settings specific to this module

2. local/html/Callbacks/ExternalAuth/autohandler/auth
This is an upgraded version of the LDAP auth Callback that calls all the 
necessary code at login time for user information and authentication 
checking.

3. local/lib/RT/User_Local.pm
This is the upgraded User_Local.pm that contains all the custom code for 
external service authentication and information checking.

4. lib/RT/Interface/CookieAuth.pm
This is a custom Cookie Authentication module which is primarily for our 
internal use here at Jennic, but is integrated into the other pieces so 
that anyone can use it if it is useful to them. I'm not sure that 
lib/RT/Interface is the best place for this code, but it'll have to stay 
there until someone else tells me different.

I have put an immense amount of effort into bringing this all together 
and even more effort has been put into commenting the code as clearly as 
possible so that anyone could understand it.

I would *sincerely* appreciate /ANY/ feedback or comments about this 
code and would love to have a couple of people run through it and give 
it a test.

If I hear nothing, and find no more issues myself, then this will be 
uploaded to CPAN as is.

Thank you :)
-- 
Kind Regards,

__________________________________________________

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com
__________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ExternalAuth.tar.gz
Type: application/x-gzip
Size: 16320 bytes
Desc: not available
Url : http://lists.bestpractical.com/pipermail/rt-devel/attachments/20080311/1311d292/attachment.bin 


More information about the Rt-devel mailing list