Benji York wrote:
Dmitry Vasiliev wrote:

Dmitry Vasiliev wrote:
Oops, we can't get rid of the generation since we need to encode the password anyway... :-/


Even if we default to plain text?

Yes. For example if you change the password of a principal it needs to be properly encoded before storing so the password needs to go through aPasswordManager.encodePassword method. I think the only way to get rid of the generation is to use InternalPrincipal.setPassword method inside the views and store the encoded password as InternalPrincipal.password attribute (like before).

--
Dmitry Vasiliev (dima at hlabs.spb.ru)
    http://hlabs.spb.ru
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to