Changes between Version 5 and Version 6 of SharedCookieAuthPlugin


Ignore:
Timestamp:
Jul 31, 2011 1:28:30 AM (3 years ago)
Author:
hasienda
Comment:

remove (too) new formatting and correct content

Legend:

Unmodified
Added
Removed
Modified
  • SharedCookieAuthPlugin

    v5 v6  
    55SharedCookieAuthPlugin 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 
    97Note: 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: 
    108{{{ 
     
    1311auth_cookie_path = /var/www/trac 
    1412}}} 
    15 So this has been made a part of Trac, and the plugin is obsoleted for Trac version >= 0.12. 
    16 }}} 
     13So 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. 
    1714 
    1815== Bugs/Feature Requests ==