Sondre Rønjom wrote at 2003-3-8 18:30 +0100: > I'm creating a python product - which needs to be authenticated; and I > dont want to use any products that does not come with a clean Zope install > - so I user Simple User Folder and define two roles admin user and > ordinary user. I just want a user to login via login form, check username > and password with the acl_users user list and set the user to > AUTHENTICATED_USER if username and password is correct. Actually I just > want to access the methods which the pop-up authenticator use when one > does /manage. To me it looks like validate() from AccessControl/User.py does this > for you, but Im not > sure how to use the method.
Usually, you just protect the methods of your product by permissions and let Zope do everything else. Dieter _______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )