Hi,

after getting a first TG2 sample app running with authentication, I found out 
how tg.ext.repoze.who hooks the identity-stuff into the app.

I also read the repoze.who docs about AuthenticatorPlugins, and I need to make 
my own.

Now the question: how to go about this? In tg.ext.repoze.who.middleware I 
don't see any hooks that allow me to create my own AuthenticatorPlugin.

So the question is:

 - do I actually de-activate identity as provided in TG2, and fully create my 
own middleware wrapping, inside <myapp>.config.middleware? This would of 
course mean to have quite a bit of boiler-plate inside  
tg.ext.repoze.who.middleware doubled.

 - is it planned to add some hooks to have most of the boilerplate reused?

Diez (who loves the WSGI-middleware-concept... coming from J2EE and it's 
atrocities called Filters...)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to