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
Hi,
I'm new to Zope and I've been examining the LoginManager
example given by dlpierson (http://www.zope.org/Members/dlpierson/sqlLogin).
Although I am nowhere near understanding what it is doing, I'm very close to
getting it to work - I think! It looks to me like I'm falling down in the
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 think
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,
Hi everybody,
I installed LoginManager-0-8-8b1 on Zope-2.2.2 by following the
install.-instructions in the HOWTO: 'LoginManager with SQL DB' by
jok. Nevertheless when I try to watch my TestFolder I get some weird
error messages, like :
Error Type: NameError
Error
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.-instructions
Hi,
This problem started with failure to access Control_Panel, which I
thought was due to a SiteAccess problem... but I now tracked it to a
problem with an instance of LoginManager.
I have the following setup:
Zope 2.3.0b2
ZPatterns 0.4.3b2
LoginManager 0.8.8b1
Zope/
test1
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
Has anyone tried get the LoginManager to work with Zope 2.3a1? When I
try the LoginManager product is broken with error message:
LoginManager Import Traceback
Traceback (innermost last):
File "/usr/lib/Zope-2.3.0a1-src/lib/python/OFS/Application.py", line
405, in import_products
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
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
Hi all,
I am following Dan Pierson's How-To SQL LoginManager with SQL and
Skinscript. I am not able to add properties.
I created LoginManager:LoginUser subclassed zclass def for a user with a
propertysheet Basic.
It had properties password and email. The LM methods I tested failed so I
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.
I am
Hi Bill,
I treid to install LoginManager 0.8.8.b1 too.
But i got this error:
2000-12-20T10:49:53 ERROR(200) Zope Couldn't import Products.LoginManager
Traceback (innermost last):
File /server/opt/Zope-2.2.4/lib/python/OFS/Application.py, line 397, in
import_products
(Object: string)
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
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,
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
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 -
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
: [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, but not Navigator
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 LoginManager +
lto:[EMAIL PROTECTED]]On Behalf Of
Oliver 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.
M
Hi all,
does anybody know how I can get rid off this ugly 'traceback' in the loginForm object
Zope displays
when using LoginManager and BasicCookieAuthentication? I want to customize the look of
the
loginForm to fit into the design of the rest of my pages.
Thanks!
--
Dipl.-Phys. Robert
Thanks for the tips:
1)the logout method work with shift+reload in IE (how would clear cached
pages from zope?)
2)the dtml-raise type="Unauthorized" 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
om: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf 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
dtml-raise type="Unauthorized"
Logout!!
/dtml-raise
On Mon, 18
Mohan Baro wrote:
Thanks,
I have tried it.
dtml-raise type="Unauthorized"
Logout!!
/dtml-raise
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
On Tue, 19 Dec 2000, Tim Cook wrote:
Mohan Baro wrote:
Thanks,
I have tried it.
dtml-raise type="Unauthorized"
Logout!!
/dtml-raise
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?
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 your
Where can I get more information on the following methods ( i.e which zope
documentation)
1) authenticate() as in dtml-call "AUTHENTICATED_USER.authenticate()"
2) logout()
Mohan
___
Zope maillist - [EMAIL PROTECTED]
this is my logout DTML method
dtml-raise type="Unauthorized"
Logout!!
/dtml-raise
On Mon, 18 Dec 2000, Mohan Baro wrote:
Can you please give an example of this code or method?
Mohan.
___
Zope maillist - [EMAIL PROTECTED]
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):
dtml-call "AUTHENTICATED_USER.logout()"
It doesn't work when using LoginManager-0-8-8b1 + ZPatterns-0-4-3b2 +
Zope 2.2.4.
I've found a work-around:
dtml-call
is to change your login method to Cookie so that
AUTHENTICATED_USER.logout() works.
Good luck.
http://lists.zope.org/pipermail/zope/2000-December/037253.html
Title: [Zope] LoginManager - logging out
[Zope] LoginManager - logging out
Aleksander Salwa
[EMAIL PROTECTED]
Sun, 17
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,
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
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, so
ot; [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 software) Magnus Heino pointed me in the right direction -
problem...
Regards,
Phil
+--+
| Phil Mayers, Network Support |
| Centre for Computing Services|
| Imperial College |
+--+
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent:
AIL 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 software) Magnus Heino pointed me in the right direction - the
dtml methods
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 there not
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
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 there
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 before being turned loose
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 -
"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 folder,
"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
prungliche Nachricht-
Von: Dirksen [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 27. November 2000 03:45
An: [EMAIL PROTECTED]
Betreff: Re: [Zope] CURRENT MEMBERSHIP PRODUCT IS COOL -- was: [Zope]
LoginManager / Membership / ZODB as UserSource
Hi Danny,
Could you show me some enlightenment on
is product to mere portals.
CU+Prost,
.oO( "Du konntest mal einen bauen" )
Danny
-Ursprungliche Nachricht-
Von: ucntcme [mailto:ucntcme]Im Auftrag von Bill Anderson
Gesendet: Samstag, 25. November 2000 19:44
An: [EMAIL PROTECTED]
Betreff: Re: [Zope] LoginManager / Membership
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.
I just have no idea how to get cracking on this since the documentation
on
* 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
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
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.
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 to
Has somebody been able to setup this combination as for today? I guess this
is an easy one for the LM experienced...
I am looking for a completely ZODB based solution concerning membership, no
rdbms.
tia,
CU+Prost,
.oO( "Du könntest mal einen bauen" )
Danny
LoginManager seems to append the standard_html_header
to the logoutForm when authorization fails. This would
normally be ok but the problem is that it uses the
standard_html_header from the directory where the
authorization fails and not from where the logoutForm
is.
Is there a way to fix this?
--- "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
| have
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?
All I want is a simple ZODB/cookie based system, but I
Thanks for the tips everyone!
I keep going between UserDb and LoginManager to try to get this to work.
UserDb gives me weird errors, and isn't really current, so I'm focusing on
LM.
I feel like I'm getting closer to a solution, but I'm still having
difficuties...
I followed jPenny's how to
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
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:
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've managed to get loginManager to install, but I
am very confused as to what to do with it.
I've read the how-tos on zope.org, and the
documentation of LoginManager itself... But I still don't understand what
is supposed to happen.
A User Source is a location to find users, Say, my
SQL
Hi!
I'm getting a type error when I try to add a LoginManager to
a folder. Any sugestions on how to get past this?
My config:
Zope 2.2.1
ZPatterns 0.3.0
LoginManager 0.8.6
The traceback:
Error Type: TypeError
Error Value: keyword parameter
Zopistas,
Maybe I'm making this harder than it needs to be.
I want to set up a membership system for the site I am developing with Zope.
I do not want to "restrict" any part of the site - instead I want a user to
login (at their convenience) and then extend the "menu" options based on
their
What UserSources are available as of today for the LoginManager to use? How
do they work?
TIA
Danny
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
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 SMB
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 that
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
couple of weeks on
and off to finally
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 question: How do I add users? I can see
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
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
GUF-compatible methods (userExists,
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
Hi!
LoginManager needs a User Source ... what can
I use as User Source?
I need detailed instructions ;-)
Wolfgang
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
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 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):
File "C:\PROGRA~1\ZOPE_216\lib\python\OFS\Application.py", line 387, in
import_products
product=__import__(pname, global_dict,
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 you
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 more
Hi!
I'm trying to produce a web site with user authentication, and was
looking for something more customizable than the standard user
authentication mechanism provided by Zope.
My first step was look in the Zope page, making a search on the term
'authentication'. I found three products: UserDB,
78 matches
Mail list logo