Changes between Version 4 and Version 5 of SharedCookieAuthPlugin


Ignore:
Timestamp:
Jan 3, 2011, 7:58:23 PM (13 years ago)
Author:
Steffen Hoffmann
Comment:

add hint about integration into Trac

Legend:

Unmodified
Added
Removed
Modified
  • SharedCookieAuthPlugin

    v4 v5  
    33== Description ==
    44
    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.
     5SharedCookieAuthPlugin 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.
    66
     7{{{
     8#!div
     9Note: 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]
     13auth_cookie_path = /var/www/trac
     14}}}
     15So this has been made a part of Trac, and the plugin is obsoleted for Trac version >= 0.12.
     16}}}
    717
    818== Bugs/Feature Requests ==