Note: You are currently viewing documentation for Moodle 2.0. Up-to-date documentation for the latest stable version is available here: Uniquelogin authentication.

Uniquelogin authentication: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
Line 8: Line 8:
Authentication plugin goal is to make sure that each user in Moodle only has one active session simultaneoulsy.
Authentication plugin goal is to make sure that each user in Moodle only has one active session simultaneoulsy.


The code is prepared to work on Moodle 2.0 as it addresses modifications in session table and database access through global DB instance. This modifications will be reviewed and altered if needed when stable versions are launched.
The code is prepared to work on Moodle 2.0 as it addresses modifications in session table and database access through global DB instance.  


==Assumptions==
==Assumptions==

Revision as of 10:26, 4 August 2010

This document describes how to set up Uniquelogin Authentication in Moodle.

This is integrated into Moodle 1.9 onwards.

The Unique Authentication module will be available in the Modules and Plugins database. When it is ready the link will be HERE.

Overview

Authentication plugin goal is to make sure that each user in Moodle only has one active session simultaneoulsy.

The code is prepared to work on Moodle 2.0 as it addresses modifications in session table and database access through global DB instance.

Assumptions

  1. Database-stored sessions are enabled.
  2. Uniquelogin is ative in authentication plugins page.

Installation

  1. Download the plug-in file from http://moodle.org/mod/data/view.php?d=13&rid=4060
  2. Unzip the file to authentication plug-ins folder moodle/auth/
  3. As adminsitrator go to Users » Auhentication » Manage authentication
  4. Enable the authentication plug-in called Unique login

Notes/Tips

  • As mentioned in Assumptions, you must use database-stored sessions to use this plug-in. To achieve this follow these steps:
  1. Go to Server » Session Handling
  2. Enable the parameter Use database for session information

See also