CasLoginContrib
CAS login manager for TWiki
Usage
This is a login manager for TWiki which allows integration in a
CAS Single Sign On infrastructure.
Once installed, it provides users with a "trip" to a CAS server to enter usernames and passwords when authentication is required in TWiki.
To activate it, you will specify
TWiki::LoginManager::CasLogin
(or
TWiki::Client::CasLogin
for TWiki 4.1.x) in the security setup section of
configure.
Examples
Configure the following variables to activate this Login manager :
$TWiki::cfg{LoginManager} = 'TWiki::LoginManager::CasLogin'; # or 'TWiki::Client::CasLogin'; for TWiki 4.1.x
$TWiki::cfg{CAS}{casUrl} = 'https://yourcas.yourdomain/cas';
$TWiki::cfg{CAS}{CAFile} = '/etc/ssl/certs/your_CAS.pem';
Should you wish to trace execution of Client/LoginManager, you may set also :
$TWiki::cfg{Trace}{Client} = 1;
Installation Instructions
You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server where TWiki is running.
Like many other TWiki extensions, this module is shipped with a fully
automatic installer script written using the BuildContrib.
- If you have TWiki 4.2 or later, you can install from the
configure
interface (Go to Plugins->Find More Extensions)
- If you have any problems, then you can still install manually from the command-line:
- Download one of the
.zip
or .tgz
archives
- Unpack the archive in the root directory of your TWiki installation.
- Run the installer script (
perl <module>_installer
)
- Run
configure
and enable the module, if it is a plugin.
- Repeat for any missing dependencies.
- If you are still having problems, then instead of running the installer script:
- Make sure that the file permissions allow the webserver user to access all files.
- Check in any installed files that have existing
,v
files in your existing install (take care not to lock the files when you check in)
- Manually edit LocalSite.cfg to set any configuration variables.
Contrib Info
This initial attempt at packaging the CasLogin is based on work done
by
CharlieReitsma (See
CasLogin), modified by
OlivierBerger to work with TWiki 4.1.2, and assembled into a
Contrib package.
You'll find the original version of
CharlieReitsma meant for TWiki 4.2 in
CasLogin.
Related Topics: TWikiContribs,
DeveloperDocumentationCategory,
AdminDocumentationCategory,
TWikiPreferences