[Zope] Has anyone tried authentication accross multiple serve rs?

Michel Pelletier michel@digicool.com
Thu, 8 Apr 1999 09:35:42 -0400


> -----Original Message-----
> From: Phillip J. Eby [mailto:pje@telecommunity.com]
> Sent: Wednesday, April 07, 1999 11:10 PM
> To: Jay, Dylan; 'zope@zope.org'
> Subject: Re: [Zope] Has anyone tried authentication accross multiple
> servers?
> 
> 
> At 11:29 AM 4/8/99 +1000, Jay, Dylan wrote:
> >I need this for a website I'm setting up so that users can 
> download from
> >several different locations around the world. I don't want 
> users to have to
> >type in their password twice. I presume there is no way to 
> do this via basic
> >authentication which leaves cookies. Has anyone tried this?
> >
> 
> I'm in the midst of figuring out how to do authentication 
> with cookies.
> The only way I can see to get ZPublisher to work 
> intelligently with cookies
> is to hack the "unauthorized" method of the ModulePublisher 
> class so that a
> login page can be called.
> 
> One caveat for your project: cookies will only work across 
> servers if the
> servers share a common domain, e.g.: foo.bar.com and baz.bar.com.
> 
> 

UserDb and etcUserFolder can both do cookie based authentication.  It's
not too tricky and kinda snazzy in that you can create your own
login/logout pages, etc.  Check out the source of either package for the
details.

-Michel

> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
> 
> (For developer-specific issues, use the companion list,
> zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
>