Changes between Version 4 and Version 5 of SharedCookieAuthPlugin
- Timestamp:
- Jan 3, 2011, 7:58:23 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SharedCookieAuthPlugin
v4 v5 3 3 == Description == 4 4 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` (though see trac:#8486 for the request to make this configurable).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.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 #!div 9 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 {{{ 11 #!cfg 12 [trac] 13 auth_cookie_path = /var/www/trac 14 }}} 15 So this has been made a part of Trac, and the plugin is obsoleted for Trac version >= 0.12. 16 }}} 7 17 8 18 == Bugs/Feature Requests ==