I have written a custom identity provider (similar to the existing
SqlAlchemyIdentityProvider and SqlObjectIdentityProvider classes). In
TG 1.0.1, how do I ask TG to use my provider instead of these?
>From my initial reading of the code, the create_default_provider()
function in turbogears.identity requires that the class be listed in
this section of entry_points.txt of the TurboGears egg:
[turbogears.identity.provider]
sqlobject =
turbogears.identity.soprovider:SqlObjectIdentityProvider
sqlalchemy=
turbogears.identity.saprovider:SqlAlchemyIdentityProvider
But I don't want to patch the TurboGears files to do this.
What's the right way to do this?
Barry
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" 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?hl=en
-~----------~----~----~----~------~----~------~--~---