[Zope] SimpleUserFolder and sha-crypted passwd

Chris Withers chrisw@nipltd.com
Fri, 27 Dec 2002 12:17:40 +0000


Adam Manock wrote:
> On Mon, 2002-12-16 at 05:23, Bjørge Solli wrote:
> 
>>Hi
>>
>>I want to put my old loginmanager to rest and put something simple in. 
>>SimpleUserFolder sounds nice, but it seems to do the password matching 
>>itself, and since I have sha-crypted passwords, I need to match the 
>>passwords in encrypted format. Any ideas? If none, can u please tell me to 
>>*not* use SimpleUserFolder(perhaps you have an alternative as well?).

Have you tried it? It might just work on its own ;-)

Take a look in lib/python/AccessControl/AuthEncoding.py and see if your SHA 
stuff is supported there. If it is, Zope's normal userfolder stuff (and 
therefore SUF too) will use it if it can...

Lemme know how you get on, I'll help if things need changing to make it work...

cheers,

Chris