Changes between Version 2 and Version 3 of TracCoSignPlugin


Ignore:
Timestamp:
Feb 7, 2009 5:12:01 PM (6 years ago)
Author:
jiangxin
Comment:

Add traccosign.accountldap for synchronize account info with LDAP server.

Legend:

Unmodified
Added
Removed
Modified
  • TracCoSignPlugin

    v2 v3  
    33== Description == 
    44 
    5 This plugin is inspired from TracCasPlugin.  Adapt to use `CoSign single sign-on`__ as the authentication back-end. 
     5This plugin is inspired from TracCasPlugin and AccountLdapPlugin.   
     6Adapt to use `CoSign single sign-on`__ as the authentication back-end. 
    67 
    78__ http://weblogin.org/ 
     
    2627 
    2728== Usage == 
    28 === The [components] section === 
    29 To enable the plugin: 
     29=== Enable the plugin === 
     30To enable the whole plugin: 
    3031{{{ 
    3132[components] 
     
    3435}}} 
    3536 
     37or enable parts of `TracCoSign` plugin: 
     38{{{ 
     39[components] 
     40traccosign.login.* = enabled 
     41traccosign.accountldap.* = enabled 
     42trac.web.auth.LoginModule = disabled 
     43}}} 
     44 
     45 
    3646'''note''': Even if installing locally, you must disable the default `LoginModule`. 
    3747 
    38 === The [cosign] section === 
     48=== traccosign.login configuration === 
     49Configurations of traccosign.login are defined in the [cosign] section. 
     50 
    3951Options in the ``[cosign]`` section: 
    4052 * '''server''': **required** 
     
    4658 * '''logout_path''': 
    4759    Relative path to the logout service. Defaults to ``/cgi-bin/logout``. 
     60 
     61=== traccosign.accountldap configuration === 
     62Configurations of traccosign.accountldap are defined in the [ldap] section. 
     63 
     64Check AccountLdapPlugin for reference. 
    4865 
    4966=== Example === 
     
    5976login_path = /cgi-bin/login 
    6077logout_path = /cgi-bin/logout 
     78 
     79[ldap] 
     80host = localhost 
     81bind_user = cn=ldapadmin,dc=foo,dc=bar 
     82bind_passwd = secret 
     83basedn = dc=foo,dc=bar 
     84user_rdn = 
     85attempts = 1 
     86user_filter = uid 
    6187}}} 
    6288