Am Fre, 01 Sep 2000 schrieben Sie:
Hi dieter,
Thx for ur reply.
The child window pop ups when u do http://localhost:8080/manage . One enters the username and password there. That is validated against the acl_user folders member names or if it is a superuser who installed zope it validates it against the access file.
I want to look at the source code and understand the authentication mechanism.That's why i want to know the following:-
1.what is the python file which pops up that child window for entering username and password ?
It is your web browser, not a python script :-) It does that because it got a "401 authentication required" response from zope.
2.After u give the username and password what is the file / module name against which the username and password is authenticated.
Well, username/password will be send together with all subsequent requests to zope. Zope veryfies if username and password match against the info retreived from the acl_users folder. What happens there depends on what object *is* acl_users (i.e. Generic User Folder, mySQLuser, ACL Manager, Login Manager ....)
3.what is this 'manage'....? method/module???
Well, that is the way to get the management screen. Source can be viewed at <zope-install>/lib/python/OFS/manage.dtml
Thx in advance
-neeloy
- Holle
-----Original Message----- From: Dieter Maurer [mailto:dieter@handshake.de] Sent: Friday, September 01, 2000 1:34 AM To: neeloy_saha Cc: 'zope@zope.org' Subject: Re: [Zope] manage
neeloy_saha writes:
when i do http://localhost:8080/manage it pops up a login window which asks for username and password. what is the entry point after that?? That is exactly what one would expect.
Enter the username and password that was assigned during installation or that you set with
python zpasswd.py access
Is there a way of running zope with debugger?? There is "Test.py" in "lib/python/ZPublisher". It will, however, not help you with the above problem.
Dieter
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- ----------------------------------- catWorkX GmbH Hamburg Dipl.-Ing. Holger Lehmann Stresemannstr. 364 22761 Hamburg Tel: +49 40 890 646-0 Fax: +49 40 890 646-66 mailto:lehmann@catworkx.de http://www.catworkx.de http://www.catbridge.de