AW: [Zope-dev] Re: [Zope3-Users] How do I automatically login a user

2008-04-03 Thread Roger Ineichen
Ha David > Betreff: Re: [Zope-dev] Re: [Zope3-Users] How do I > automatically login a user > > Thanks Jim for doing this. Actually, the domain is something > I have been looking for also. These other features are really > nice. I am hoping this > can be worke

Re: [Zope3-Users] How do I automatically login a user

2008-04-03 Thread kevin gill
Thanks for that Jim, The code does what I want. I will have a good look at it and respond on zope-dev on Tuesday (I only work Tuesday, Wedensdays and Thurday). Thanks Kevin > > Let's move this discussion to zope-dev. > > On Apr 2, 2008, at 5:36 AM, kevin gill wrote: >> Please check in the cod

Re: [Zope-dev] Re: [Zope3-Users] How do I automatically login a user

2008-04-03 Thread David Pratt
Thanks Jim for doing this. Actually, the domain is something I have been looking for also. These other features are really nice. I am hoping this can be worked into something like z3c.authentication for generic use. Hoping roger is following this. Regards, David Jim Fulton wrote: Let's mov

Re: [Zope3-Users] How do I automatically login a user

2008-04-03 Thread Jim Fulton
On Apr 2, 2008, at 7:02 PM, Darryl Cousins wrote: Is the code already available for a look? I've played with several credentials options and would very much like to see what you have here. It is now. Thanks for the reminder. See my response to Kevin. Jim -- Jim Fulton Zope Corporation

Re: [Zope3-Users] How do I automatically login a user

2008-04-03 Thread Jim Fulton
Let's move this discussion to zope-dev. On Apr 2, 2008, at 5:36 AM, kevin gill wrote: Please check in the code to the sandbox and I will have a look at it. The coding looks straight-forward, but choosing how to work it into the existing components. I will look at the code and come back with

Re: [Zope3-Users] How do I automatically login a user

2008-04-03 Thread Nando Quintana
Hi Kevin, > During my registration process I want to automatically login the user (in > Zope3). After registration, I do the login in the same BrowserPage: from zope.app.security.interfaces import IAuthentication from zope.app import zapi #[...] # Registration staff #[...] # get the principal

Re: [Zope3-Users] How do I automatically login a user

2008-04-02 Thread Darryl Cousins
On Tue, 2008-04-01 at 12:50 -0400, Jim Fulton wrote: > On Apr 1, 2008, at 12:33 PM, kevin gill wrote: > > During my registration process I want to automatically login the > > user (in > > Zope3). > > > > I can see how to programatically logout a user using > > ILogout().logout(request), but I don

Re: [Zope3-Users] How do I automatically login a user

2008-04-02 Thread kevin gill
Please check in the code to the sandbox and I will have a look at it. The coding looks straight-forward, but choosing how to work it into the existing components. I will look at the code and come back with questions. Thanks Kevin > > On Apr 1, 2008, at 12:33 PM, kevin gill wrote: >> During my

Re: [Zope3-Users] How do I automatically login a user

2008-04-01 Thread Jim Fulton
On Apr 1, 2008, at 12:33 PM, kevin gill wrote: During my registration process I want to automatically login the user (in Zope3). I can see how to programatically logout a user using ILogout().logout(request), but I don't see an equivalent for logging in. I intend to use session cookies fo

[Zope3-Users] How do I automatically login a user

2008-04-01 Thread kevin gill
During my registration process I want to automatically login the user (in Zope3). I can see how to programatically logout a user using ILogout().logout(request), but I don't see an equivalent for logging in. I intend to use session cookies for tracking users. Thanks Kevin _