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
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
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
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
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
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
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
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
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 "
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.
>
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
> 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
>
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
>> 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
: [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,
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
> 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 -
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
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,
> 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
__
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
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'
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?
>
&
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
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
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
> 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
> 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 +
>
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,
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
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
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,
> 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
--+
| 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
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
"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
"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
> 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
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
> 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
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
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
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.
...
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
* 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
--- "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
[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
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
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
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
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?
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
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
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
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
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
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
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):
--
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
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
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
- 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
62 matches
Mail list logo