[Zope3-Users] ILoginPassword Adapter

David Johnson djohnson at jsatech.com
Sun Mar 26 23:31:55 EST 2006


Does any one have an example of a ILoginPassword adapter?  I reviewed the
code from Phillipp's book, but it gives me errors about "list objects being
unhashable" when I attempt to login.

 

For reference, here is the error I get with Phillip's example:

 

Traceback (most recent call last):

  File
"/home/djohnson/Zope-3.2.0/build/lib.linux-i686-2.4/zope/publisher/publish.p
y", line 132, in publish

    publication.beforeTraversal(request)

  File
"/home/djohnson/Zope-3.2.0/build/lib.linux-i686-2.4/zope/app/publication/zop
epublication.py", line 82, in beforeTraversal

    p = prin_reg.authenticate(request)

  File
"/home/djohnson/Zope-3.2.0/build/lib.linux-i686-2.4/zope/app/security/princi
palregistry.py", line 42, in authenticate

    p = self.__principalsByLogin.get(login, None)

TypeError: list objects are unhashable

 

 

--

David Johnson

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope3-users/attachments/20060326/dc644c4c/attachment.htm


More information about the Zope3-users mailing list