[Zope-dev] storing passwords

sean.upton@uniontrib.com sean.upton@uniontrib.com
Sun, 15 Jun 2003 15:34:17 -0700


There are many possibilities.  I would try exUserFolder first (it might work
with just configuration (no code) for your use-case), and if you have needs
more specific, you can develop your own user-folder type (a bit harder, but
not much) using SimpleUserFolder (a generic "base class" for
rolling-your-own user folders).

Sean

> -----Original Message-----
> From: Markus Bengts [mailto:markus@qvd.fi]
> Sent: Sunday, June 15, 2003 2:22 PM
> To: sean.upton@uniontrib.com
> Cc: andreas@andreas-jung.com; zope-dev@zope.org
> Subject: RE: [Zope-dev] storing passwords
> 
> 
> 
> Thank you!
> 
> I am still trying to find out what Zope is and what it can do. I
> somehow missed the "alternative user folders" when I skimmed 
> through the
> Zope Book. This was a pleasant surprise:
> 
> http://www.zope.org/Products/user_management
> 
> On Sun, 15 Jun 2003 sean.upton@uniontrib.com wrote:
> 
> > 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.
> > > >
>