[dev] Support for multiple CustomerAuth modules
Ralf Becker
beckerr at fh-trier.de
Mon Jun 5 17:05:08 CEST 2006
Hello!
I'm just new to OTRS and I'm trying to configure it for our needs. As
our customers should be authenticated using LDAP and internal OTRS
database, I realised that it isn't possible to use multiple
Authentication Modules for customers.
So I've done a very simple AuthModule called
Kernel::System::CustomerAuth::Multiple which uses multiple AuthModules
(like DB, LDAP, Radius, ...) to authenticate customers.
Usage is very simple:
Copy Multiple.pm to Kernel/System/CustomerAuth/Multiple.pm. You'll find
it at http://www.fh-trier.de/~beckerr/OTRS-CustomerAuth/Multiple.pm
To use CustomerAuth::DB and CustomerAuth::LDAP modify your Config.pm
like this:
$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::Multiple';
$Self->{'Customer::AuthModule::Multiple::Modules'}='Kernel::System::CustomerAuth::DB
Kernel::System::CustomerAuth::LDAP';
So CustomerAuth::Multiple tries to authenticat users using
CustomerAuth::DB first and, if this fails, it trys CustomerAuth::LDAP.
Regards, Ralf
More information about the dev
mailing list