Changeset 5054 for main/waeup.sirp/trunk/src/waeup/sirp/app.py
- Timestamp:
- 11 Mar 2010, 13:25:41 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/app.py
r5016 r5054 2 2 import logging 3 3 import os 4 from zope.app.authentication.authentication import PluggableAuthentication 5 from zope.app.security.interfaces import IAuthentication 4 try: 5 from zope.authentication.interfaces import IAuthentication 6 except: 7 # BBB 8 from zope.app.security.interfaces import IAuthentication 6 9 from zope.component import createObject, getAllUtilitiesRegisteredFor 10 try: 11 from zope.pluggableauth import PluggableAuthentication 12 except ImportError: 13 # BBB 14 from zope.app.authentication.authentication import PluggableAuthentication 7 15 16 from waeup.sirp.authentication import setup_authentication 17 from waeup.sirp.datacenter import DataCenter 8 18 from waeup.sirp.interfaces import ( 9 19 IUniversity, IDataCenter, IWAeUPSIRPPluggable, 10 20 IDataCenterStorageMovedEvent) 11 from waeup.sirp.authentication import setup_authentication12 from waeup.sirp.datacenter import DataCenter13 21 from waeup.sirp.users import UserContainer 14 22 … … 21 29 grok.local_utility( 22 30 PluggableAuthentication, provides = IAuthentication, 23 setup = setup_authentication )24 31 setup = setup_authentication,) 32 25 33 @property 26 34 def logger(self):
Note: See TracChangeset for help on using the changeset viewer.