On Monday, October 1, 2018 at 4:48:01 AM UTC-7, Adam Howell wrote: > > Yes we are handling authentication in front of Trac through Apache. > > Unfortunately, we are on 1.0.5. I have attempted to update to 1.2, but > alas the many plugins we utilize were not ready at the time. I'll try > again later. > > I was wondering if it would be simpler to do the work in > IAuthenticator.authenticate or would that still leave me in the same boat. >
That might work, but you'll need to disable trac.web.auth.LoginModule, otherwise your authenticate method might never be called: https://trac.edgewall.org/browser/tags/trac-1.0.5/trac/web/main.py?marks=135,137,145,146#L132 You could probably subclass LoginModule and do some work before calling the superclass authenticate method. https://trac.edgewall.org/browser/tags/trac-1.0.5/trac/web/auth.py?marks=85-99#L83 > For the Apache redirect, I honestly have not looked in to the method, but > it is on my list. > -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
