Changes between Version 9 and Version 10 of GuardPlugin


Ignore:
Timestamp:
2012-05-23T21:15:09Z (12 years ago)
Author:
Pan Luo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GuardPlugin

    v9 v10  
    77== Requirements ==
    88 * CakePHP 1.3+
     9
     10== Available Authentication Methods ==
     11 * CakePHP internal
     12 * Shibboleth
     13 * LDAP
    914
    1015== Download ==
     
    97102* loginError: The error message when user logged in successfully through Shibboleth but do not have an valid account or permission in the application. This is an example to override the [http://api13.cakephp.org/class/auth-component AuthComponent] properties.
    98103
     104=== LDAP Module ===
     105LDAP module is used to authenticate against the existing LDAP server.
     106
     107The configuration parameters for LDAP are:
     108{{{
     109#!php
     110$config['Guard.AuthModule.Ldap'] = array(
     111    'host' => 'ldaps://ldapcons.stg.id.ubc.ca/',
     112    'port' => 636,
     113    'serviceUsername' => 'uid=USERNAME, ou=Special Users, o=school.ca', // username to connect to LDAP
     114    'servicePassword' => 'PASSWORD', // password to connect to LDAP
     115    'baseDn' => 'ou=Campus Login, o=school.ca',
     116    'usernameField' => 'username', // not used
     117    'passwordField' => 'password', // not used
     118);
     119}}}
     120* host: The LDAP server address
     121* port: The LDAP server port
     122* serviceUsername: The username used to connect to LDAP server
     123* servicePassword: The password used to connect to LDAP server
     124* baseDn: The base DN
     125
    99126=== Note ===
    100127Change the Security.level to low in core.php if using external authentication module