Welcome, Guest
Username: Password: Remember me

TOPIC: Authentication plugin

Authentication plugin 3 years 2 weeks ago #59246

  • chinaski
  • chinaski's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 16
  • Thank you received: 1
  • Karma: 0
Hi.

I am going to over-ride the authentication system by using server auth and setting the following in the config.php file:

$useWebserverAuth = true;

I will create limesurvey users using a privacy-friendly username. The server will provide an identifier in the PHP_AUTH_USER variable which I will use to look up the privacy-friendly username.

Basically, I need to do the following prior to limesurvey doing it's authentication stuff:


1) Take username provided by the webserver [PHP_AUTH_USER],
2) Do an LDAP lookup on this to get a username,
3) pass the uname found in 2) above along to the limesurvey to do it's db lookup.

Question: what's the best approach to injecting my custom code into the limesurvey authentication loop.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.145 seconds
Donation Image