On Jun 20, 2006, at 5:19 AM, sastan wrote:

> i develop webapp to administrate a Kerbers, LDAP and AFS network. I  
> was
> able to create a custom Identity-Provider which creates/renew the
> Kerberos-Ticket and AFS-Tocken for each request. These tickets are  
> then
> aviable in the enviroment for ldap and subshell-commands.
>
> My problem is now:
> When two or more request coming in at same time, the later will
> overwrite the enviroment for the first. Is it possible to store the
> enviroment in a per thread way or do you have other suggestions?

The easiest thing to do is to put it on the request object:

cherrypy.request.kticket = ...
cherrypy.request.afs_token = ...

Kevin

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

Reply via email to