DokuWiki

It's better when it's simple

User Tools

Site Tools


auth:plaincas

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
auth:plaincas [2013-04-05 04:49] – [Customisation] 174.95.129.158auth: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:cas|CAS Authentication Backend]] this authentication backend does **not** require LDAP. 
  
-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://github.com/bircher/dw-plaincas|github]] 
- 
-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://wiki.jasig.org/display/CASC/phpCAS|jasig.org]] and extract it to the folder //phpCAS// in //inc// that is prepared for you. 
-==== 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://www.ja-sig.org/wiki/display/CASC/phpCAS+requirements|More informations on phpCas requirements]] 
- 
-==== 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['authtype'] = 'plaincas'; 
- 
-$conf['auth']['plaincas']['server'] = 'cas.server.tld';  
-$conf['auth']['plaincas']['rootcas'] = '/cas'; 
-</code> 
- 
- 
-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.1365130196.txt.gz · Last modified: 2013-04-05 04:49 by 174.95.129.158

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki