|
| 1 | +Using the CAS authentication source with SimpleSAMLphp |
| 2 | +========================================================== |
| 3 | + |
| 4 | +This is completely based on the original cas authentication, |
| 5 | +the only diffrence is this is authentication module and not a script. |
| 6 | + |
| 7 | +Setting up the CAS authentication module |
| 8 | +---------------------------------- |
| 9 | + |
| 10 | +The first thing you need to do is to enable the cas module: |
| 11 | + |
| 12 | + touch modules/cas/enable |
| 13 | + |
| 14 | +Adding a authentication source |
| 15 | + |
| 16 | +example authsource.php |
| 17 | +---------------------------------- |
| 18 | + |
| 19 | + 'example-cas' => array( |
| 20 | + 'cas:CAS', |
| 21 | + 'cas' => array( |
| 22 | + 'login' => 'https://cas.example.com/login', |
| 23 | + 'validate' => 'https://cas.example.com/validate', |
| 24 | + 'logout' => 'https://cas.example.com/logout' |
| 25 | + ), |
| 26 | + 'ldap' => array( |
| 27 | + 'servers' => 'ldaps://ldaps.example.be:636/', |
| 28 | + 'enable_tls' => true, |
| 29 | + 'searchbase' => 'ou=people,dc=org,dc=com', |
| 30 | + 'searchattributes' => 'uid', |
| 31 | + 'attributes' => array('uid','cn'), |
| 32 | + 'priv_user_dn' => 'cn=simplesamlphp,ou=applications,dc=org,dc=com', |
| 33 | + 'priv_user_pw' => 'password', |
| 34 | + |
| 35 | + ), |
| 36 | + ), |
0 commit comments