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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Michal Krejza
Sent: Thursday, January 04, 2001 3:38 AM
To: [EMAIL PROTECTED]
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  -  [EMAIL PROTECTED]
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 )



_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to