Re: [Zope] LoginManager dlpierson example

2001-01-31 Thread Fred Yankowski
I just realized that I responded in terms of a PythonMethod when you asked about a PythonScript. My ZClass functions for my LoginManager subclass are all PythonMethods, yet to be converted to Python Scripts. My 'authenticate' method takes (self, password, request) as parameters and has for the f

Re: [Zope] LoginManager dlpierson example

2001-01-30 Thread W. Robert Kellock
Thanks Fred,   On passing 'request' (why the extra argument anyway?) I got   Error Type: TypeErrorError Value: not enough arguments; expected 3, got 2 so I'm wondering have you got LoginManager to work on the Zope 2.3.0 release?   >>On Wed, Jan 31, 2001 at 09:25:08AM +1300, W. Robert Kellock

Re: [Zope] LoginManager dlpierson example

2001-01-30 Thread Fred Yankowski
On Wed, Jan 31, 2001 at 09:25:08AM +1300, W. Robert Kellock wrote: > Are PythonScript arguments typeless? I keep getting an > error > > Error Type: AttributeError > Error Value: 'string' object has no attribute 'password' > > from the authenticate method which I'm passing self,password. I th

Re: [Zope] LoginManager, can't get past login form

2001-01-26 Thread Fred Yankowski
Nick, Thank you! Installing the latest ZPatterns did the trick, exactly as you said. EXcellent. But I still wish I had some way to test the pieces of the application, or to at least trace their operation. ZPatterns is a bit too opaque for my taste, particularly given its complexity, unfamilia

RE: [Zope] LoginManager, can't get past login form

2001-01-25 Thread Nick McDowell
Fred, I encountered the same problem. I soon realized that the ZPatterns that is packaged with LoginManger is a version different to the one Dan Pierson mentions in his article. My resolution was to upgrade my ZPatterns to version 0.4.3b2, recreate my LoginManager folder (i.e. delete the old ve

Re: [Zope] LoginManager ...

2001-01-25 Thread mapr
Oops, I have forgotten to ask something: I have heard that GenericUserFolder doesn't work under Zope-2.2.x, is that right ? Thanks Mario On Thu, 25 Jan 2001 [EMAIL PROTECTED] wrote: > Hi everybody, > I installed LoginManager-0-8-8b1 on Zope-2.2.2 by following the > install.-instruction

Re: [Zope] LoginManager and Zope 2.3

2001-01-08 Thread Austin Mayberry
Since I posted this this morning I have since figured out a way to fix it. The LoginManager was referencing a class in AccessControl/Users.py called Super, but in Zope 2.3 this class is called UnrestrictedUser. This introduced a new error which tracedback to HTTPRequest.py. I know it is probabl

Re: [Zope] LoginManager and Zope 2.3

2001-01-08 Thread Shane Hathaway
Austin Mayberry wrote: > > Has anyone tried get the LoginManager to work with Zope 2.3a1? When I > try the LoginManager product is broken with error message: LoginManager 0.8.6 seems to work fine. 0.8.8b1 tries to use a class in User.py that no longer exists. In fact, it does things that are

Re: [Zope] LoginManager with SQL and Skinscript: adding properties to propertysheet propertysheet

2001-01-08 Thread Dan L. Pierson
Aaron Payne <[EMAIL PROTECTED]> writes: > I am following Dan Pierson's How-To SQL LoginManager with SQL and > Skinscript. I am not able to add properties. You may have noticed my silence on property sheets... At first, I didn't expect to use them, because I expected only members to edit their "

RE: [Zope] LoginManager - logging out

2000-12-21 Thread Mohan Baro
Thank you Mohan. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bill Anderson Sent: Thursday, December 21, 2000 1:57 PM To: [EMAIL PROTECTED] Subject: Re: [Zope] LoginManager - logging out Mohan Baro wrote: > > Its just not working for me. >

Re: [Zope] LoginManager - logging out

2000-12-21 Thread Bill Anderson
Mohan Baro wrote: > > Its just not working for me. > > I am going to try LoginManager + ZPatterns (hope it has a handy logout > feature) Well, you could look at the Membership product to see how we do it there. :) IIRC, it works fine with the latest LM and Zope. Zpatterns won't provide a log

RE: [Zope] LoginManager - logging out

2000-12-20 Thread Oliver Bleutgen
> Thanks for the tips: > 1)the logout method work with shift+reload in IE (how would clear cached > pages from zope?) > 2)the method does not allow me to log > back > in even when I try a redirect to a different page. > I am wondering if something is set incorrectly on my browser. If (2) works >

RE: [Zope] LoginManager - logging out

2000-12-20 Thread Mohan Baro
Bleutgen Sent: Wednesday, December 20, 2000 1:01 PM To: [EMAIL PROTECTED] Subject: RE: [Zope] LoginManager - logging out >> reminded of a previous post in which someone suggested >> http://garbage:x@yourSite would also clear the browser's credential. >> Much fas

RE: [Zope] LoginManager - logging out

2000-12-20 Thread Oliver Bleutgen
>> reminded of a previous post in which someone suggested >> http://garbage:x@yourSite would also clear the browser's credential. >> Much faster and works in IE and Konqueror, but not Navigator or lynx. Very >> easy to test, too. >Its just not working for me. > >I am going to try LoginManag

RE: [Zope] LoginManager - logging out

2000-12-20 Thread Mohan Baro
: [Zope] LoginManager - logging out Inspired by Jim Washington's recent post re 'Anonymous user', I was reminded of a previous post in which someone suggested http://garbage:x@yourSite would also clear the browser's credential. Much faster and works in IE and Konqueror,

RE: [Zope] LoginManager - logging out

2000-12-20 Thread Bill Welch
Up to this point, I've been talking about mechanisms for you, personally, to log out to switch between developer and user roles for testing. Clearly, these mechanisms aren't appropriate for the users of your site. I think LoginManager isn't the only choice, but I can't say, off hand, what the ot

RE: [Zope] LoginManager

2000-12-20 Thread Steve Drees
> Where do I get a copy of cPersistance.h? I need it to compile DynPersist.c You need to download the Zope src tarball if your going to build ZPatterns. (This note really should be in the installation instructions of ZPatterns.) ___ Zope maillist -

RE: [Zope] LoginManager

2000-12-20 Thread Mohan Baro
Where do I get a copy of cPersistance.h? I need it to compile DynPersist.c Mohan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Oliver Bleutgen Sent: Wednesday, December 20, 2000 7:20 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Zope

Re: [Zope] LoginManager - logging out

2000-12-20 Thread Bill Welch
Inspired by Jim Washington's recent post re 'Anonymous user', I was reminded of a previous post in which someone suggested http://garbage:x@yourSite would also clear the browser's credential. Much faster and works in IE and Konqueror, but not Navigator or lynx. Very easy to test, too. first,

Re: [Zope] LoginManager

2000-12-20 Thread Oliver Bleutgen
> Impo rtError: No module named DynPersist > does the LoginManager dependent from other product of zope? > Do you know which product of zope contians "DynPersist"? Reread the instructions for installing ZPatterns, they tell you how to compile Dynpersist.c. cheers, oliver __

Re: [Zope] LoginManager - logging out

2000-12-19 Thread Bill Welch
On Tue, 19 Dec 2000, Tim Cook wrote: > Mohan Baro wrote: > > > > Thanks, > > > > I have tried it. > > > > > > Logout!! > > > > > > I guess it logs me out. But it also gives me a login dialog box it does > > not accept any of the account. So I cannot log back in! Why? > > The login di

Re: [Zope] LoginManager - logging out

2000-12-19 Thread Tim Cook
Mohan Baro wrote: > > Thanks, > > I have tried it. > > > Logout!! > > > I guess it logs me out. But it also gives me a login dialog box it does > not accept any of the account. So I cannot log back in! Why? > I'm not sure WHY it won't accept your username at this point. BUT, it doesn'

RE: [Zope] LoginManager - logging out

2000-12-19 Thread Mohan Baro
Of Bill Welch Sent: Monday, December 18, 2000 11:06 AM To: Mohan Baro Cc: [EMAIL PROTECTED] Subject: RE: [Zope] LoginManager - logging out this is my logout DTML method Logout!! On Mon, 18 Dec 2000, Mohan Baro wrote: > Can you please give an example of this code or method? > &

RE: [Zope] LoginManager - logging out

2000-12-18 Thread Bill Welch
this is my logout DTML method Logout!! On Mon, 18 Dec 2000, Mohan Baro wrote: > Can you please give an example of this code or method? > > Mohan. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross po

RE: [Zope] LoginManager - logging out

2000-12-18 Thread Mohan Baro
Where can I get more information on the following methods ( i.e which zope documentation) 1) authenticate() as in 2) logout() Mohan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encod

RE: [Zope] LoginManager - logging out

2000-12-18 Thread Mohan Baro
Can you please give an example of this code or method? Mohan. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bill Welch Sent: Monday, December 18, 2000 10:14 AM To: [EMAIL PROTECTED] Subject: RE: [Zope] LoginManager - logging out > authentication

RE: [Zope] LoginManager - logging out

2000-12-18 Thread Bill Welch
> authentication and that the browser caches the credential. This means > unless you shut down your browser, whatever you do, you are back to > square one. Besides shutting down your browser, you trash its credential. Create a simple DTML method that raises the 'Unauthorized' exception. Direct yo

Re: [Zope] LoginManager - logging out

2000-12-17 Thread Aleksander Salwa
> I used this code in my "logoutForm" to logout user in my old setup > (LoginManager-0_8_7a1, ZPatterns-0-4-2a1 and Zope 2.2.1): > (I assume this code is correct, as it is included in default logoutForm in LoginManager.) > It doesn't work when using LoginManager-0-8-8b1 + ZPatterns-0-4-3b2 + >

RE: [Zope] LoginManager - logging out

2000-12-17 Thread Aleksander Salwa
On Sun, 17 Dec 2000, Chalu Kim wrote: > No, you are right. It does not work. It is because LM's default login > method is Basic. Basic logout does not work because of Basic > authentication and that the browser caches the credential. This means > unless you shut down your browser, whatever you do,

RE: [Zope] LoginManager - logging out

2000-12-17 Thread Chalu Kim
No, you are right. It does not work. It is because LM's default login method is Basic. Basic logout does not work because of Basic authentication and that the browser caches the credential. This means unless you shut down your browser, whatever you do, you are back to square one. The remedy is t

Re: [Zope] LoginManager and SSL client authentication

2000-12-16 Thread Stefan H. Holek
On Fri, 15 Dec 2000, Mayers, Philip J wrote: > We've got a bespoke application for storing our (very large) user account > database here. One field a user can have is a crypted unix password (which > I'm currently using to authenticate users). The other thing that can exist > is the Subject or Su

Re: [Zope] LoginManager and SSL client authentication

2000-12-15 Thread Ng Pheng Siong
On Fri, Dec 15, 2000 at 11:42:23AM -, Mayers, Philip J wrote: > How would I go about making LoginManager authenticate them on the basis of > the certificate subject? > > Apache will validate the certificate for me (by passing a valid CA cert to > it's configuration) and I'm running over PCGI,

Re: [Zope] LoginManager broken?

2000-12-12 Thread Dan L. Pierson
> Phil > [EMAIL PROTECTED] > > > - Original Message - > From: "Mayers, Philip J" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, December 11, 2000 8:34 PM > Subject: RE: [Zope] LoginManager broken? > > > > Thanks, I

RE: [Zope] LoginManager broken?

2000-12-12 Thread Mayers, Philip J
--+ | Phil Mayers, Network Support | | Centre for Computing Services| | Imperial College | +--+ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 11 December 2000 20:18 To: Mayers, Philip J Cc: '[EMAIL P

Re: [Zope] LoginManager broken?

2000-12-12 Thread Phil Harris
Mayers, Philip J" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 11, 2000 8:34 PM Subject: RE: [Zope] LoginManager broken? > Thanks, I'll take a look. > > Re: LoginManager - After a fast turnaround (confirming my ample faith in > Open Source sof

Re: [Zope] LoginManager broken?

2000-12-11 Thread Michael Bernstein
"Mayers, Philip J" wrote: > > Thanks, I'll take a look. > > Re: LoginManager - After a fast turnaround (confirming my ample faith in > Open Source software) Magnus Heino pointed me in the right direction - the > dtml methods and SQL objects need to be inside the UserSource folder, *not* > the Lo

Re: [Zope] LoginManager broken?

2000-12-11 Thread Dan L. Pierson
"Mayers, Philip J" <[EMAIL PROTECTED]> writes: > Thanks, I'll take a look. > > Re: LoginManager - After a fast turnaround (confirming my ample faith in > Open Source software) Magnus Heino pointed me in the right direction - the > dtml methods and SQL objects need to be inside the UserSource fol

Re: [Zope] LoginManager broken?

2000-12-11 Thread Oliver Bleutgen
> Well, not 2.2.4 but 2.2.3, and I had some bugs when ehm replace 2.2.3 with 2.2.2 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/ma

RE: [Zope] LoginManager broken?

2000-12-11 Thread Mayers, Philip J
PROTECTED]] Sent: 11 December 2000 20:18 To: Mayers, Philip J Cc: '[EMAIL PROTECTED]' Subject: Re: [Zope] LoginManager broken? You might look at http://www.zope.org/Members/dlpierson/sqlLogin for a different approach that works for me in early testing. Note that it needs additional work

Re: [Zope] LoginManager broken?

2000-12-11 Thread Oliver Bleutgen
> Does it even *work*? Even a little bit? Because other than repeating the > same process 12 damn times, so far I'm not convinced. Maybe I'll look in > the > source code to see if there's actually anything in the files (other than a > HOWTO.txt, which is empty, which BTW is more annoying than ther

Re: [Zope] LoginManager broken?

2000-12-11 Thread Dan L. Pierson
You might look at http://www.zope.org/Members/dlpierson/sqlLogin for a different approach that works for me in early testing. Note that it needs additional work before being turned loose on a live site. Dan Pierson "Mayers, Philip J" <[EMAIL PROTECTED]> writes: > Does it even *work*? Even a li

Re: [Zope] LoginManager Help.

2000-11-26 Thread Dirksen
You can gain some enlightenment from these two documents: http://www.zope.org/Members/Zen/GenericUserFolder/walkthrough http://www.zope.org/Members/jok/SQL_based_LoginManager --- "Jason C. Leach" <[EMAIL PROTECTED]> wrote: > hi, > > So I have LoginManager installed. The easy part. Now I'd like

Re: [Zope] LoginManager Help.

2000-11-26 Thread Jason C. Leach
hi, Also, I'm not sure what this instruction ment: - If you want to log in a user from another page, create a form which posts fields called __ac_name and __ac_password to a method which doesn't have anonymous user access. (see the example loginForm for an example) Thanks, j. ...

Re: [Zope] LoginManager Help.

2000-11-26 Thread Jason C. Leach
hi, Those instructions got the ball roling. I have not got it going yet, but am getting close. Where do I put my login forms? In the same folder as the acl_users (LoginManager), or inside the acl_users (LoginManager)? I have just taken your example and hard coded a user in for now: def userAut

Re: [Zope] LoginManager Help.

2000-11-26 Thread seb bacon
* Jason C. Leach <[EMAIL PROTECTED]> [001126 20:46]: > hi, > > So I have LoginManager installed. The easy part. Now I'd like to know how > to use it. To start with, I'd like to authenticate against a standard > acl_users folder or a plane text file w/ username/passwords in it. OK, I've just st

Re: [Zope] LoginManager 0.8.8b1 examples/suggestions?

2000-10-25 Thread Jason Byron
--- "Morten W. Petersen" <[EMAIL PROTECTED]> wrote: > [Jason Byron] > > | Does anyone have any LoginManager 0.8.8b1 example > | code? It almost looks like you can extend the > system > | using plugins, but I don't know how that's done. > | Anyone else have luck doing this? If so then do > you

Re: [Zope] LoginManager 0.8.8b1 examples/suggestions?

2000-10-24 Thread Morten W. Petersen
[Jason Byron] | Does anyone have any LoginManager 0.8.8b1 example | code? It almost looks like you can extend the system | using plugins, but I don't know how that's done. | Anyone else have luck doing this? If so then do you | have any examples/suggestions? Yes. After adding your LoginManag

Re: [Zope] LoginManager - with SQL?

2000-10-13 Thread Holger Lehmann
Well we use the UserDbFolder Product after havin the same/similar problems with the LoginManager :-) - Holger Am Fri, 13 Oct 2000 schrieben Sie: > Has anyone been able to use LoginManager with a SQL db? with or without > encryption? > > I'm still baffled by this how-to: > http://www.zope.org/M

Re: [Zope] LoginManager - with SQL?

2000-10-13 Thread ed colmar
Has anyone been able to use LoginManager with a SQL db? with or without encryption? I'm still baffled by this how-to: http://www.zope.org/Members/jok/SQL_based_LoginManager In this example, there are dtml-methods that do the work of the UserSource, but there is no retrieveItem? I would really

Re: [Zope] LoginManager - how does it work?

2000-10-12 Thread Aleksander Salwa
On Tue, 10 Oct 2000, ed colmar wrote: > So, now I have a UserSource Installed into my LoginManager. It is called > I remember I had some troubles trying to put methods rolesForUser, domainsForUser, authenticateUser in UserSource class. They can be moved to user class. I did so. But your case

Re: [Zope] LoginManager - how does it work?

2000-10-10 Thread ed colmar
Thanks for the help! Still looking for that HOWTO.txt So, now I have a UserSource Installed into my LoginManager. It is called "pgcrypt" and is supposed to authenticate to a SQL database. The password stored in the DB is encryputed using the same scheme. Any ideas why it doesn't let me in?

Re: [Zope] LoginManager - how does it work?

2000-10-08 Thread Aleksander Salwa
On Sat, 7 Oct 2000, ed colmar wrote: > I've managed to get loginManager to install, but I am very confused as to > what to do with it. I was confused too :) Now I have working instalation of LoginManager-0-8-7a1. It retrieves users' data from ZODB, but it may be helpfull to understand how to i

RE: [Zope] LoginManager UserSources

2000-08-02 Thread Wilkinson Charlie E
Title: RE: [Zope] LoginManager UserSources > -Original Message- > From: Kyler B. Laird [[EMAIL PROTECTED]] > > On Wed, 2 Aug 2000 15:13:45 -0400  you wrote: > > >I've gotten it working with > >Postgres (with crypted passwords no less!)  It took me a

Re: [Zope] LoginManager UserSources

2000-08-02 Thread Kyler B. Laird
On Wed, 2 Aug 2000 15:13:45 -0400 you wrote: >I've gotten it working with >Postgres (with crypted passwords no less!) It took me a couple of weeks on >and off to finally get that going. Yes, it was painful, especially having >no prior experience with GUF (or much experience with Zope, for tha

RE: [Zope] LoginManager UserSources

2000-08-02 Thread Wilkinson Charlie E
Title: RE: [Zope] LoginManager UserSources Hi Danny, I don't think the question applies, as you are prettymuch free to build a UserSource to anything you want.  Of course, with that freedom comes aggrevation.  ;-/  There is ready documentation on the Zope site for interfacing LM to SM

Re: [Zope] LoginManager / Membership: WTFM (Where's the...)

2000-07-31 Thread Bill Anderson
Danny William Adair wrote: > > Hi all! > > I've successfully installed current releases of ZPatterns, LoginManager and > "Membership". This Membership product comes up with some nice high level > methods / forms for the common procedures, but still doesn't help me with my > basic LoginManager qu

Re: [Zope] LoginManager, User Sources, ...

2000-07-24 Thread Bill Anderson
Wolfgang Klinger wrote: > > Hi! > > I searched the archives and found some entries, all > concerning the same problem ... > > I read this: > > "LoginManager currently comes with a default > User Source called Generic User Source (GUS), > that is a GUF-like roll-your-own system. It uses > G

RE:[Zope] LoginManager 0.8.6 on Zope 2.1.6

2000-07-19 Thread Mathias Bengtsson
You need to install the ZPattern package to Zope. You can get it at Zope.org. After that it should work fine /Mathias Bengtsson --Hi there --I tried to install LoginManager 0.8.6 owith Zope 2.1.6 but that failed. Zope --reports: --LoginManager Import Traceback --Traceback (innermost last): --

Re: [Zope] LoginManager HOWTO?

2000-06-14 Thread P Chandra Sekhar
Hi Cesar ... I'm not trying to tell about login manager, because I'm still trying. But I can tell you about how to use RDBMS server and playing with data. You need a database adatper(I'm using ZODB, there are several.you can choose as you like) and ZSQL method. Connect database from your con

Re: [Zope] LoginManager HOWTO?

2000-06-14 Thread Cesar A. K. Grossmann
Stuart 'Zen' Bishop wrote: > > But do you want advanced? If you just want to store your authentication > information, UserDB is just fine - moving to GenericUserFolder in > this case may just cause you troubles, as more advanced also means > more complicated. I need to provide a logon screen mor

Re: [Zope] LoginManager HOWTO?

2000-06-14 Thread Stuart 'Zen' Bishop
On Tue, 13 Jun 2000, Cesar A. K. Grossmann wrote: > "Update (10/30/99): Zen has posted a product that has more functionality > than UserDB, called GenericUserFolder. " > > Well, looks like the GenericUserFolder is more advanced. So I go to its > page. In it there are another observation: But do

Re: [Zope] LoginManager HOWTO?

2000-06-13 Thread Kevin Dangoor
- Original Message - From: "Cesar A. K. Grossmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 13, 2000 7:34 PM Subject: [Zope] LoginManager HOWTO? > I'm looking for a sequence of steps needed to configure and use the > LoginManager. How to add users? How to add local