Or SimpleUserFolder: create a user folder class in a Zope product that subclasses both SimpleUserFolder and OFS.Folder. Then put ZSQL methods and a few TTW python scripts in the folder contents of an instance of this class to make it work. I've done something similar to this with relative success. Sean
-----Original Message----- From: Andreas Jung [mailto:andreas@andreas-jung.com] Sent: Sunday, June 15, 2003 1:34 PM To: Markus Bengts; zope-dev@zope.org Subject: Re: [Zope-dev] storing passwords
exUserFolder is your friend.
-aj
--On Sonntag, 15. Juni 2003 23:28 Uhr +0300 Markus Bengts <markus@qvd.fi> wrote:
Hello,
I want to use the same usernames and passwords in Zope and
some other
servers. The usernames and password digests are stored in a PostgreSQL database, and a given username and password -pair can be checked with a simple SQL-query.
I need to modify Zope to look up and to save passwords in PostgreSQL.
Has someone done this before? Can someone tell me which source file contains the method that reads or saves passwords? Can this be done by modifying only one source file?
Markus
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org 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 )
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org 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 )