Giter Club home page Giter Club logo

limesurvey-saml-attributes's Introduction

limesurvey-saml-attributes

Limesurvey plugin to append SAML attributes on survey and the final survey response.

Requirements

Installation instructions

  1. Copy FieldsSAML folder with its content at limesurvey/plugins folder
  2. Go to Admin > Configuration > Plugin Manager or https:/example.com/index.php/admin/pluginmanager/sa/index and Enable the plugin

Global Configuration

  • Language Index if SAML provider support multiple languages, choose the desired language index
  • SAML attribute used as fullName maps to SAML attribute that will be used as full name
  • SAML attribute used as firstName maps to SAML attribute that will be used as first name
  • SAML attribute used as lastName maps to SAML attribute that will be used as last name
  • SAML attribute used as email maps to SAML attribute that will be used as email
  • SAML attribute used as department maps to SAML attribute that will be used as department
  • SAML attribute used as title maps to SAML attribute that will be used as title
  • SAML attribute used as affiliation maps to SAML attribute that will be used as affiliation
  • Available affiliations Comma separated list. It is important for latter when configuring the surveys. Values map from A1,A2,...,An. Example: faculty,student,staff,affiliate,employee Maps to: A1,A2,A3,A4,A5

Global Settings

How to enable plugin for specific survey

  1. Go to Surveys > (Select desired survey) > Simple Plugins or https:/example.com/index.php/admin/survey/sa/rendersidemenulink/surveyid/{survey_id}/subaction/plugins
  2. Open Settings for plugin FieldsSAML accordion
  3. Click Enabled checkbox
  4. Enable desired fields Plugin Settings
  5. Create survey group and name it Personal Data
  6. Edit group description on Source mode and add the following snippet
<script>
  $(document).ready(function () {
    setPersonalData();
  });
</script>

Personal Data Group 7. Create desired fields and assign them the specified code, type and css-class

Code Type CSS-Class
fullName Short Free Text saml-fullName
firstName Short Free Text saml-firstName
lastName Short Free Text saml-lastName
email Short Free Text saml-email
department Short Free Text saml-department
title Short Free Text saml-title
telephoneNumber Short Free Text saml-telephoneNumber
affiliation* List Drop Down saml-affiliation

code and type are highlighted code and type are highlighted

code and css-class are highlighted code and css-class are highlighted

(*) Affiliation field answer options are defined like this Affiliation Field Answer Options

Images

How saml data are appended on the survey

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.