[Checkins] SVN: zope.app.security/trunk/ Use new zope.password instead of zope.app.authentication, thus remove dependency on zope.app.authentication.
Dan Korostelev
nadako at gmail.com
Sat Mar 7 04:19:14 EST 2009
Log message for revision 97610:
Use new zope.password instead of zope.app.authentication, thus remove dependency on zope.app.authentication.
Changed:
U zope.app.security/trunk/CHANGES.txt
U zope.app.security/trunk/setup.py
U zope.app.security/trunk/src/zope/app/security/principalregistry.py
-=-
Modified: zope.app.security/trunk/CHANGES.txt
===================================================================
--- zope.app.security/trunk/CHANGES.txt 2009-03-07 03:30:49 UTC (rev 97609)
+++ zope.app.security/trunk/CHANGES.txt 2009-03-07 09:19:12 UTC (rev 97610)
@@ -5,6 +5,13 @@
3.6.1 (unreleased)
------------------
+- Depend on new ``zope.password`` package instead of ``zope.app.authentication``
+ to get password managers for the authentication utility, thus remove
+ dependency on ``zope.app.authentication``.
+
+- Use template for AuthUtilitySearchView instead of ugly HTML
+ constructing in the python code.
+
- Bug: The `sha` and `md5` modules has been deprecated in Python 2.6.
Whenever the ZCML of this package was included when using Python 2.6,
a deprecation warning had been raised stating that `md5` and `sha` have
@@ -16,9 +23,6 @@
- Remove deprecated code, thus removing explicit dependency on
zope.deprecation and zope.deferredimport.
-- Use template for AuthUtilitySearchView instead of ugly HTML
- constructing in the python code.
-
3.6.0 (2009-01-31)
------------------
Modified: zope.app.security/trunk/setup.py
===================================================================
--- zope.app.security/trunk/setup.py 2009-03-07 03:30:49 UTC (rev 97609)
+++ zope.app.security/trunk/setup.py 2009-03-07 09:19:12 UTC (rev 97610)
@@ -65,7 +65,6 @@
extras_require=dict(test=['zope.app.testing']),
install_requires=['setuptools',
'zope.browser',
- 'zope.app.authentication',
'zope.app.component',
'zope.app.form',
'zope.app.pagetemplate',
@@ -77,6 +76,7 @@
'zope.i18nmessageid',
'zope.interface',
'zope.location',
+ 'zope.password',
'zope.publisher',
'zope.schema',
'zope.security',
Modified: zope.app.security/trunk/src/zope/app/security/principalregistry.py
===================================================================
--- zope.app.security/trunk/src/zope/app/security/principalregistry.py 2009-03-07 03:30:49 UTC (rev 97609)
+++ zope.app.security/trunk/src/zope/app/security/principalregistry.py 2009-03-07 09:19:12 UTC (rev 97610)
@@ -18,12 +18,12 @@
from zope.component import getUtility
from zope.interface import implements
-from zope.app.authentication.interfaces import IPasswordManager
from zope.app.security.interfaces import PrincipalLookupError
from zope.security.interfaces import IGroupAwarePrincipal
import zope.security.management
from zope.app.security import interfaces
from zope.container.contained import Contained, contained
+from zope.password.interfaces import IPasswordManager
class DuplicateLogin(Exception): pass
More information about the Checkins
mailing list