Drupal

From RavenWiki
Revision as of 10:23, 3 March 2008 by jw35 (talk | contribs) (Stun note about 6.x version)
Jump to navigationJump to search

Shawn Tan's Drupal module.

Note: An updated version of this module for version 6.x of Drupal is available (thanks to David Newgas) at http://raven.cam.ac.uk/project/drupal/files/ucamraven-6.x.tar.gz

Objective

This Drupal module was created to allow any website that uses Drupal, to authenticate via Raven. The module runs fine on both 4.6 and 4.7 versions of Drupal.

Installation

Un-tar the module into your Drupal's "module" directory. It will be placed in a "ucamraven" sub-directory.

Login as the administrator for your Drupal based site.

Click on admin => modules.

Enable the "ucamraven" module.

You should remove the default "login" and "logout" menu items in the menu.

User Login

Any user that clicks on the "raven login" link in the main menu will be redirected to the standard Raven login page. Once the user has authenticated with Raven, the user will be redirected back to the original website.

Admin Login

Due to the way that the module is written, the site administrator may not be able to login to the website through Raven. This is true when the admininstrator username is not a standard CRSID.

Administrators can by-pass the Raven login by explicitly using the standard Drupal login page "user/login".

License

This module is released under GPLv2. A copy of the license is included in the module package.

Download

The UCam Raven Drupal module can be downloaded here: http://raven.cam.ac.uk/project/drupal/files/ucamraven-4.7.0.tar.gz

Author

Author's contact information is available in the module source file.