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/", line 132, in publish


  File "/home/djohnson/Zope-3.2.0/build/lib.linux-i686-2.4/zope/app/publication/", 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/", line 42, in authenticate

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

TypeError: list objects are unhashable




David Johnson


Zope3-users mailing list

Reply via email to