auth:plaincas
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
auth:plaincas [2013-06-18 15:51] – Klap-in | auth:plaincas [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== CAS only Authentication Backend ====== | ||
- | | Since the release 2013-05-10 “Weatherwax”\\ see [[plugin: | ||
- | |||
- | This module allows authentication against a CAS server. | ||
- | Contrary to [[auth: | ||
- | |||
- | It does **not** require any modification to the dokuwiki files when paired with the plugin that comes with it to replace the login screen. | ||
- | |||
- | :!: please review the code and give feedback | ||
- | ===== Easy Way ===== | ||
- | |||
- | ==== Installation ==== | ||
- | |||
- | === Getting the scripts === | ||
- | |||
- | |||
- | First download the code from [[https:// | ||
- | |||
- | The //inc// and //lib// folders correspond to your dokuwiki //inc// and //lib// folders. | ||
- | |||
- | Unpack this archive in your dokuwiki folder. | ||
- | |||
- | Then download the phpCAS library from [[https:// | ||
- | ==== Requirements ==== | ||
- | |||
- | The phpCas library needs | ||
- | * CURL 7.5+ | ||
- | * PHP 4.3.1+, PEAR DB | ||
- | * Apache 2.0.44+ | ||
- | CURL libs must be present on your system, and they must have been compiled with SSL support. | ||
- | [[http:// | ||
- | |||
- | ==== Customisation ==== | ||
- | |||
- | The CAS plugin needs to be customized a bit in order to be useful. | ||
- | The file plaincas.settings.php can be copied to your //conf// folder and the three functions can be adapted. | ||
- | |||
- | You need to know what attributes your CAS server delivers and set an array to contain all the useful attributes that you would like to match against the regular expressions. | ||
- | |||
- | This requires a minimal amount of php knowledge to customize. | ||
- | |||
- | |||
- | in local.php you should at least configure: | ||
- | <code php> | ||
- | $conf[' | ||
- | |||
- | $conf[' | ||
- | $conf[' | ||
- | </ | ||
- | |||
- | |||
- | The configuration can also include a set of minimal groups in order to consider a user as a user and save him. | ||
- | |||
- | In general the authentication is made to be fairly flexible, yet easy to leverage the CAS authentication and authorization. | ||
- | |||
- | feedback is welcome: wpa at esn dot org | ||
- | |||
- | The development of this authentication plugin was supported by the European Youth Foundation | ||
- | |||
- | :!: Please help to document |
auth/plaincas.1371563519.txt.gz · Last modified: 2013-06-18 15:51 by Klap-in