Looking at the SAprovider and soprovider modules there is tons of repeated code. and since some people want to do a LDAP provider it will be wise to refractor this a bit.
I Posted #783 a while ago but since noone is using saprovider it wasn't commited.
What I'm thinking is transform http://trac.turbogears.org/turbogears/browser/trunk/turbogears/identity by
- moving soprovider.py
and saprovider.py into the same file (providers.py)
- Change all the references in the templates from things like identity.soprovider.* to
identity.providers.soprovider.*
This way all we need is to add a class to that file and we have a new provider, and the module wont get that big since we wont have 100's of providers.
What do you think?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
- [tg-trunk] Refractor of identity package (please note ref... Jorge Vargas
