Changeset 6610
- Timestamp:
- 14 Aug 2011, 20:42:02 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/authentication.py
r6203 r6610 3 3 import grok 4 4 from zope.component import getUtility, getUtilitiesFor 5 try: 6 from zope.pluggableauth.plugins.session import SessionCredentialsPlugin 7 except ImportError: 8 # BBB 9 from zope.app.authentication.session import SessionCredentialsPlugin 10 try: 11 from zope.pluggableauth.interfaces import ( 5 from zope.pluggableauth.plugins.session import SessionCredentialsPlugin 6 from zope.pluggableauth.interfaces import ( 12 7 ICredentialsPlugin, IAuthenticatorPlugin, IPrincipalInfo) 13 from zope.password.interfaces import IPasswordManager 14 except ImportError: 15 # BBB 16 from zope.app.authentication.interfaces import ( 17 ICredentialsPlugin, IAuthenticatorPlugin, IPrincipalInfo, 18 IPasswordManager) 8 from zope.password.interfaces import IPasswordManager 19 9 from zope.securitypolicy.interfaces import IPrincipalRoleManager 20 10 from zope.securitypolicy.principalrole import principalRoleManager
Note: See TracChangeset for help on using the changeset viewer.