Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-1796

New AUTH module to enable single sign-on into Roundcube webmail from Moodle

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.9.5, 1.9.6, 1.9.7
    • Fix Version/s: 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.9.5, 1.9.6, 1.9.7
    • Labels:
      None
    • Environment:
      Tested on Ubuntu Server 9.10 (Linux 2.6.31, Apache 2.2.12, PHP5 5.2.10-2, PostgreSQL 8.4.2, Moodle 1.9.7) and Mac OS X Client 10.6.2 with MAMP 1.8.1 (Apache 2.0.63, PHP5 5.2.10, MySQL 5.1.37, Moodle 1.9.7)
    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      Attached is a package consisting of an auth module and related local en_utf8 translations for Moodle PLUS a plugin for Roundcube. The theory behind this module is that when a Moodle user logs in, the username and password is saved to a shared cookie, the password being encrypted by MCRYPT using a shared secret salt. When the user attempts to browse to the webmail client and specifies an action 'performsso' on the HTTP request (eg, http://webmail.stcuthberts.school.nz/?_task=mail&_action=performsso"), the roundcube plugin reads the shared cookie and attempts to decrypt the password and log in. The salt and cookie name need to be hard-configured in the roundcube mdlsso plugin in lines 20 and 17 of mdlsso.php respectively, and the plugin needs to be enabled in the Roundcube config. Details are in the INSTALL file in the distribution. The documentation may do with a little updating to improve readability, and a block may need to be created so that a link can be created from the Moodle auth plugin's configuration?

        Attachments

        1. contrib-1796.png
          contrib-1796.png
          121 kB
        2. rmsso.zip
          7 kB
        3. rmsso-plugin.tar.gz
          6 kB

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Mar/08