RE: [Zope] Help with getting started with Login Manager
Try this: http://www.zope.org/Members/jok/SQL_based_LoginManager Some extra pointers: Step 7: Customize the LoginManger instance to call the SQL methods You'll have this /root /folder /acl_users (LoginManager) /UserSource SQL_check_user SQL_get_password SQL_get_roles You're then supposed to add DTML Methods called userAuthenticate,userExists,userRoles *BUT* if you do this, you'll be locked out. Instead, add xuserAuthenticate xuserExists xuserRoles Edit & test the DTML methods, then when you're sure they work, batch rename them (i.e. tick the boxes next to all three, then click rename). They'll be renamed as an atomic unit, and hopefully the LoginManager will work. It can be very frustrating to get going though - Once you've completed step 6, I recommend taking a copy of "folder" i.e. /root /folder (...etc...) /copy_of_folder (...etc...) If you break it, you can get back to /root, delete folder, copy "copy_of_folder" back to "folder" and not have to start from scratch. Very time saving. Regards, Phil +----------------------------------+ | Phil Mayers, Network Support | | Centre for Computing Services | | Imperial College | +----------------------------------+ -----Original Message----- From: Steffen Bergmann [mailto:steffen.bergmann@friatec.de] Sent: 18 January 2001 09:32 To: zope@zope.org Subject: [Zope] Help with getting started with Login Manager Hi ! I installed the Login Manager to my Zope, but I don“t know how to use it. I want to authenticate my users with an SQL database. Is there anywhere good documentation about Login Manager. And how does the Login Manager solve the N*M problem with managing the users. Regards Steffen _______________________________________________ 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 )
Hi Phil, Mayers, Philip J wrote:
Try this:
http://www.zope.org/Members/jok/SQL_based_LoginManager
Some extra pointers:
is it o.k. that i include them in an updated version of the How-To? Steffen: There is also http://www.zope.org/Members/dlpierson/sqlLogin , a solution which is more integrated into the zpatterns framework. Ciao, Jochen-- -------------------------------------------------- Jochen Knuth WebMaster http://www.ipro.de IPRO GmbH Phone ++49-7152-93330 Steinbeisstr. 6 Fax ++49-7152-933340 71229 Leonberg EMail: J.Knuth@ipro.de
participants (2)
-
Jochen Knuth -
Mayers, Philip J