Available in stable 1.17 1.16 1.15 1.14 1.13 1.12 1.11 1.10 1.9 1.8 1.7 1.6

Using the CAS authentication source with SimpleSAMLphp

This is completely based on the original cas authentication, the only diffrence is this is authentication module and not a script.

1 Setting up the CAS authentication module

The first thing you need to do is to enable the cas module:

touch modules/cas/enable

Adding a authentication source

2 example authsource.php

'example-cas' => array(
    'cas:CAS',
    'cas' => array(
        'login' => 'https://cas.example.com/login',
        'validate' => 'https://cas.example.com/validate',
        'logout' => 'https://cas.example.com/logout'
    ),
    'ldap' => array(
        'servers' => 'ldaps://ldaps.example.be:636/',
        'enable_tls' => true,
        'searchbase' => 'ou=people,dc=org,dc=com',
        'searchattributes' => 'uid',
        'attributes' => array('uid','cn'),
        'priv_user_dn' => 'cn=simplesamlphp,ou=applications,dc=org,dc=com',
        'priv_user_pw' => 'password',

    ),
),