[Zope] Login dialog - another newbie question

Mohan Baro mcbaro@uwimona.edu.jm
Thu, 4 Jan 2001 12:45:59 -0500


Hi there,

I have been trying to do the same. i.e. create a logon form,
what I have been told so far is that:
1) I have to use the method user.authenticate(????,????)
2) however I have found no documentation for user.authenticate() anywhere
3) others have suggested that I read the source:
ZOPE_DIR/lib/python/AccessControl/User.py


I think its has to be something like.....
	<dtml-call "REQUEST.set('name', 'k.laird.1')">
	<dtml-call "REQUEST.set('password', '5678')">
	<dtml-call "acl_users.authenticate('Login', REQUEST, RESPONSE)">



Let me know if you manage to create a login form.




Mohan.



-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
Michal Krejza
Sent: Thursday, January 04, 2001 3:38 AM
To: zope@zope.org
Subject: [Zope] Login dialog - another newbie question


Hi Zopitas,
I have problem with authentication in Zope. I made small site in our
company, and some informations are visible for anonymous user and some for
managers. So I need to authorize users before they connect to restricted
area. It's late for me, becose access to restricted methods is able through
links, which are visible only for managers. Is there any way to make some
form for login to Zope. But without another application like LoginManager or
MySQL User Folder and etc. My Zope server is running on WinNT and I have
problem with these application.

Michal Krejza

When users connect to a restricted area a dialog box pops up that
> looks more or less like this:


_______________________________________________
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 )