On Nov 14, 2006, at 8:37 AM, jose wrote:

>
> Hi all,
>
> I would like to share the credentials between tg and zope2 wich run in
> different ports. I would like that a user insert his/her username and
> password once in tg or in zope2 and then both servers share it whitout
> asking two times thfor the authentication.
> Is there a way to do that?
>
> jo

I'm not sure about how to do it with Zope but I've managed to  
Integrate a Trac into a TG app, both sharing authentication by using  
custom auth. WSGI middleware in front of a paste.URLMap which mapped  
into the TG or the Trac app.

The middleware sets REMOTE_USER in the WSGI environ and both apps  
fetch it from there. I'm pretty sure something similar could be done  
substituting Trac for Zope.

HTH,
Alberto 

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