[Zope] exUserFolder and Zope 2.12
kosh at aesaeion.com
Sat Jan 2 00:42:07 EST 2010
On Thursday 17 December 2009, Andrew Milton wrote:
> +-------[ Baiju M ]----------------------
> | Hi,
> | In exUserFolder there are few exceptions raised like this:
> | raise 'LoginRequired', self.docLogin(self, request)
> | This will not working in Zope 2.12 (Python 2.6)
> | Any idea, how to change it ?
> Replace the raise with;
I just tried that and it works in Firefox, Chrome and Opera but it is failing
in IE and Konqueror. I tried a few versions of each of these browsers and
the results are consistent. I don't see why it is failing though.
I tried exactly what is up there along with also trying self.docLoginRedirect
instead of docLogin. I used wireshark to watch the connection and I don't see
anything wrong with it.
GET /XXXXXX/manage HTTP/1.1
User-Agent: Mozilla/5.0 (compatible; Konqueror/4.3; Linux) KHTML/4.3.4 (like
Accept: text/html, image/jpeg;q=0.9, image/png;q=0.9, text/*;q=0.9,
Accept-Encoding: x-gzip, x-deflate, gzip, deflate
Accept-Charset: utf-8, utf-8;q=0.5, *;q=0.5
Accept-Language: en-US, en
HTTP/1.1 401 Unauthorized
Date: Sat, 02 Jan 2010 05:31:47 GMT
Server: Zope/(2.12.1, python 2.6.4, linux2) ZServer/1.1
Via: 1.1 XXX.XXXX.com
Keep-Alive: timeout=15, max=100
<META HTTP-EQUIV=Expires CONTENT="2009-12-31">
<META HTTP-EQUIV=Refresh CONTENT="0;
<!-- This is here to stop IE's default 512 byte limit from kicking in and
showing us "Friendly" error pages.
The Unenlightened Zopistas Guide to exUserFolder.
(C) 2001-2003 Andrew Milton <akm at theinternet.com.au>
exUserFolder is an extensible authentication product for the Zope
Application Server. It allows a user to choose from a number of
methods of authenticating their users, and allows the setting and
fetching of arbitrary properties on a User object.
Authentication methods, and Property methods do not have to use the
same backing store, so it is possible to use legacy user sources, and
If I go to the page that the Refresh refers to in any of the browers that
works fine. The raise form works fine on older versions of zope with no issues
on any of these browers. Konqueror and IE will both have their icons spinning
on that page like they are waiting for something.
Any ideas or help would be appreciated. I have tried lots of things to get
More information about the Zope