[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/authentication/principalfolder.py Added BBB for older instances

Dmitry Vasiliev lists at hlabs.spb.ru
Thu Nov 3 04:04:49 EST 2005


Roger Ineichen wrote:
> Log message for revision 39855:
>   Added BBB for older instances
> 
> Changed:
>   U   Zope3/trunk/src/zope/app/authentication/principalfolder.py
> 
> -=-
> Modified: Zope3/trunk/src/zope/app/authentication/principalfolder.py
> ===================================================================
> --- Zope3/trunk/src/zope/app/authentication/principalfolder.py	2005-11-02 23:12:33 UTC (rev 39854)
> +++ Zope3/trunk/src/zope/app/authentication/principalfolder.py	2005-11-03 01:02:10 UTC (rev 39855)
> @@ -110,6 +110,8 @@
>  
>      interface.implements(IInternalPrincipal, IInternalPrincipalContained)
>  
> +    _passwordManagerName = "Plain Text"
> +
>      def __init__(self, login, password, title, description=u'',
>              passwordManagerName="Plain Text"):
>          self._login = login

This is unnecessary since there is new database generation at 
http://localhost:8080/++etc++process/@@generations.html which add 
self._passwordManagerName and also convert self.password to self._password, so 
you need to evolve anyway. I think this change just will be masks future 
password problems, since self.password is a property now.

-- 
Dmitry Vasiliev (dima at hlabs.spb.ru)
     http://hlabs.spb.ru


More information about the Zope3-Checkins mailing list