auth:plaincas
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
auth:plaincas [2012-11-27 14:18] – created 212.76.227.198 | auth:plaincas [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== CAS only Authentication Backend ====== | ||
- | 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 purecas.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: | ||
- | |||
- | $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 | ||
- | |||
- | :!: Please help to document |
auth/plaincas.1354022309.txt.gz · Last modified: 2012-11-27 14:18 by 212.76.227.198