|Version 4 (modified by jiangxin, 5 years ago) (diff)|
CoSign single sign-on integration for Trac
If you have any issues, create a new ticket.
Download the zipped source from here.
Enable the plugin
To enable the whole plugin:
[components] traccosign.* = enabled trac.web.auth.LoginModule = disabled
or enable parts of TracCoSign plugin:
[components] traccosign.login.* = enabled traccosign.accountldap.* = enabled trac.web.auth.LoginModule = disabled
note: Even if installing locally, you must disable the default LoginModule.
Configurations of traccosign.login are defined in the [cosign] section.
Options in the [cosign] section:
- server: required
The base URL of the CoSign server.
Requried if do not use CoSign filter doing redirect.
Relative path to the login service. Defaults to /cgi-bin/login.
Relative path to the logout service. Defaults to /cgi-bin/logout.
Configurations of traccosign.accountldap are defined in the [ldap] section.
Check AccountLdapPlugin for reference.
An example configuration:
[components] traccosign.* = enabled trac.web.auth.LoginModule = disabled [cosign] server = https://weblogin.localdomain/ service = trac login_path = /cgi-bin/login logout_path = /cgi-bin/logout [ldap] host = localhost bind_user = cn=ldapadmin,dc=foo,dc=bar bind_passwd = secret basedn = dc=foo,dc=bar user_rdn = attempts = 1 user_filter = uid
-  by jiangxin on 2009-06-14 10:59:03
remove hostname/server from [cosign] section; change login_path to login_uri, ... , in [cosign] section.
-  by jiangxin on 2009-06-14 10:12:16
Change name of options in trac.ini, to make the config file easily parsed by package maintenance scripts.
-  by jiangxin on 2009-02-28 15:56:59
TracCosignPlugin: Upgrade to 0.1.2