[Zope] Autologin

Chris McDonough chrism at plope.com
Fri Jun 4 03:56:25 EDT 2004


I suspect if there's not a switch in cookie crumbler to twiddle the
cookie timeout value that you'll need to subclass it to make it
settable.

On Fri, 2004-06-04 at 03:39, Peter Bengtsson wrote:
> That's what I want!
> But I can't find anything in CookieCrumbler that does this. At least not 
> within the ZMI. Do I have to write code or can I just switch something 
> on or off?
> 
> Chris McDonough wrote:
> 
> > It allows for "automatic login" inasmuch as your can cause the auth
> > cookie to be persisted for longer than the duration of one browser
> > invocation, so that the next time they visit the website, the cookie
> > gets sent back and they are authenticated.
> > 
> > On Thu, 2004-06-03 at 20:07, Peter Bengtsson wrote:
> > 
> >>I know about CookieCrumbler but does it allow for automatic login?
> >>If not, I guess I'll have to use CookieCrumbler and subclass it to suit 
> >>my needs.
> >>
> >>Chris McDonough wrote:
> >>
> >>
> >>>Basic HTTP authentication (as used by the standard Zope user folder)
> >>>won't let you do this, but cookie-based auth allows for this.  Shane's
> >>>CookieCrumbler is included with CMF but can be used independently to
> >>>provide an interface between non-cookie-aware user folders and
> >>>cookie/form authentication handling.
> >>>
> >>>On Thu, 2004-06-03 at 19:29, Peter Bengtsson wrote:
> >>>
> >>>
> >>>>I've got a basic folderish python product where its instances will by 
> >>>>default have the View permission switched off, so you get bugger all 
> >>>>unless you authenticate yourself.
> >>>>By saving the username and password in Mozilla/IE/... it just requires 
> >>>>an Enter touch when the login dialog appears; but I don't even want that 
> >>>>to appear. I want it to work like Sourceforge does where it remembers my 
> >>>>whole login without any authentication on each visit.
> >>>>
> >>>>What tools/hacks are available to achieve this?
> >>>
> >>>
> >>>
> >>>.
> >>>
> > 
> > 
> > 
> > .
> > 




More information about the Zope mailing list