Skip to content

cappe87/LimeSurvey-ShibbolethAuth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

LimeSurvey-ShibbolethAuth

LimeSurvey 3.4+ Shibboleth auth plugin

LimeSurvey: http://www.limesurvey.org/

PREREQUISITES

  • Running installation of LimeSurvey 3.4+
  • libapache2-mod-shib2 -> Running Shibboleth SP
  • git

INSTALL PLUGIN

In the following example the LimeSurvey working directory is /var/www/limesurvey

To install this plugin you have to create a folder "ShibbolethAuth" into folder /plugins/ of your LimeSurvey installation and copy into that folder the file "ShibbolethAuth.php":

cd /var/www/limesurvey/plugins
mkdir ShibbolethAuth
cd ShibbolethAuth
git clone https://github.com/atlet/LimeSurvey-ShibbolethAuth.git .

ACTIVATE PLUGIN FROM ADMIN PANEL

Now you can activate and configure the new installed plugin

CONFIGURE APACHE2 FOR SHIBBOLETH AUTHENTICATION

You have two alternatives:

Protect frontend and admin panel with Shibboleth To protect frontend and admin panel you can add the following to apache2 configuration:

   <Location />
             AuthType shibboleth
             ShibRequireSession On
             require valid-user
   </Location>

Protect only admin panel with Shibboleth With this method you will be able to protect only the admin panel, add the following to apache2 configuration:

   <Location /admin>
             AuthType shibboleth
             ShibRequireSession On
             require valid-user
   </Location>
   
   <Location />
             AuthType shibboleth
             ShibRequestSetting requireSession false
             ShibUseHeaders On
             Require shibboleth
  </Location>

About

LimeSurvey Shibboleth auth plugin using SimpleSAMLphp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%