https://github.com/arusso/casauth
A modified version of the CASAuth plugin found here: http://www.mediawiki.org/wiki/Extension:CASAuthentication
https://github.com/arusso/casauth
Last synced: about 1 year ago
JSON representation
A modified version of the CASAuth plugin found here: http://www.mediawiki.org/wiki/Extension:CASAuthentication
- Host: GitHub
- URL: https://github.com/arusso/casauth
- Owner: arusso
- Created: 2012-02-28T03:44:46.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2019-03-14T16:44:45.000Z (over 7 years ago)
- Last Synced: 2025-05-12T23:53:22.517Z (about 1 year ago)
- Language: PHP
- Homepage:
- Size: 362 KB
- Stars: 4
- Watchers: 2
- Forks: 14
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
CASAuth(entication) Extension for Mediawiki
===========================================
A CAS Authentication extension for Mediawiki. Tested with versions with
1.19, although it should work for at least versions 1.16+, if not earlier.
Introduction
------------
The CASAuth extension facilitates CAS authentication for your Mediawiki
installation. This particular code is derived from work found
[here](http://www.mediawiki.org/wiki/Extension:CASAuthentication).
This code is customized towards usage for private wikis, with the ability to
restrict access to the wiki to specific usernames.
This extension is currently written for, and tested against Mediawiki 1.19.
However, if you find it works well against a different version of Mediawiki,
please feel free to let me know and I will keep track of it in this README.
The extension will follow whatever version of Mediawiki is found in the
[EPEL](http://fedoraproject.org/wiki/EPEL EPEL) repository.
Installation
------------
Assuming a working CAS system, installation should take under 15 minutes.
Assume $WIKI is the directory for your wiki.
1. Create folder $WIKI/extensions/CASAuth/
2. Download this source code into that directory
3. Download the [phpCAS](https://wiki.jasig.org/display/CASC/phpCAS) extension
and extract it to the folder $WIKI/extensions/CASAuth/CAS/
4. Add the following lines to your LocalSettings.php
```php
require_once( "$IP/extensions/CASAuth/CASAuth.php" );
casSetup();
```
5. In the $WIKI/extensions/CASAuth/ directory, copy the
CASAuthSettings.php.template file to CASAuthSettings.php and modify it for
your environment.
6. You should now have working CAS authentication for your wiki!
Credits
-------
Source code found here is derived from the extension found
[here](http://www.mediawiki.org/wiki/Extension:CASAuthentication), originally
written by Ioannis Yessios.