Changes between Version 5 and Version 6 of SharedCookieAuthPlugin
- Timestamp:
- Jul 30, 2011, 11:28:30 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SharedCookieAuthPlugin
v5 v6 5 5 SharedCookieAuthPlugin allows cookies to be shared between Trac instances in the same environment (i.e. directory). The plugin monkey-patches `trac.web.auth.LoginModule` so that cookies get set at `/` instead of `req.base_path`. ^See following note^ The incoming request is then passed by the `authenticate` method of the `IAuthenticator` interface to projects that peer the project of interest to see if the user is authenticated there. This enables single-sign on for Trac projects in the same directory. 6 6 7 {{{8 #!div9 7 Note: As per request in [trac:ticket:8486 T#8486] a new configuration option, has been introduced to Trac with changeset [trac:changeset:9226 'T:[9226]'], that accomplished this: 10 8 {{{ … … 13 11 auth_cookie_path = /var/www/trac 14 12 }}} 15 So this has been made a part of Trac, and the plugin is obsoleted for Trac version >= 0.12. 16 }}} 13 So this has been made a part of Trac, and a simplified plugin version (not yet available) should work for Trac version >= 0.12 without that monkey-patching. 17 14 18 15 == Bugs/Feature Requests ==