Its going to be a fair amount of work to implement this in the identity
framework. The sticking point is that identity requires visit to be
enabled, and the only visit implementation out there requires a
database.  So, you are probably going to need to figure out how to
disable visit, or create a dummy Visit class that essentially does
nothing. In addition, you are going to need to create a new identity
provider and identity objects.

Its probably easiest to roll your own decorator that does the lookup,
and then sets some value in the request object indicating the results
of the authentication process.
http://trac.turbogears.org/turbogears/browser/branches/1.0/turbogears/identity/visitor.py
(see identity_from_http_auth) can get you started on getting the
credentials out of the request.


--~--~---------~--~----~------------~-------~--~----~
 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to