Changes between Version 1 and Version 2 of SharedCookieAuthPlugin


Ignore:
Timestamp:
Jul 16, 2009 9:27:15 PM (5 years ago)
Author:
k0s
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SharedCookieAuthPlugin

    v1 v2  
    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` (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. 
    66 
    7 Currently, this is pretty slow, as all of the peer environments are opened per authentication attempt.  Any help making it faster is welcome, or I'll probably eventually get around to it. 
    87 
    98== Bugs/Feature Requests ==