[Checkins]
SVN: zope.app.authentication/trunk/src/zope/app/authentication/
Make progress with moving core components
Roger Ineichen
roger at projekt01.ch
Tue Sep 25 17:28:25 EDT 2007
Log message for revision 80053:
Make progress with moving core components
from zope.app.session to zope.session
Changed:
U zope.app.authentication/trunk/src/zope/app/authentication/session.py
U zope.app.authentication/trunk/src/zope/app/authentication/tests.py
-=-
Modified: zope.app.authentication/trunk/src/zope/app/authentication/session.py
===================================================================
--- zope.app.authentication/trunk/src/zope/app/authentication/session.py 2007-09-25 21:00:47 UTC (rev 80052)
+++ zope.app.authentication/trunk/src/zope/app/authentication/session.py 2007-09-25 21:28:25 UTC (rev 80053)
@@ -25,11 +25,11 @@
from zope.interface import implements, Interface
from zope.schema import TextLine
from zope.publisher.interfaces.http import IHTTPRequest
+from zope.session.interfaces import ISession
from zope.traversing.browser.absoluteurl import absoluteURL
from zope.app.component import hooks
from zope.app.container.contained import Contained
-from zope.app.session.interfaces import ISession
from zope.app.authentication.interfaces import ICredentialsPlugin
class ISessionCredentials(Interface):
@@ -107,7 +107,7 @@
To illustrate how a session plugin works, we'll first setup some session
machinery:
- >>> from zope.app.session.session import RAMSessionDataContainer
+ >>> from zope.session.session import RAMSessionDataContainer
>>> from tests import sessionSetUp
>>> sessionSetUp(RAMSessionDataContainer)
Modified: zope.app.authentication/trunk/src/zope/app/authentication/tests.py
===================================================================
--- zope.app.authentication/trunk/src/zope/app/authentication/tests.py 2007-09-25 21:00:47 UTC (rev 80052)
+++ zope.app.authentication/trunk/src/zope/app/authentication/tests.py 2007-09-25 21:28:25 UTC (rev 80053)
@@ -27,11 +27,11 @@
from zope.app.testing import placelesssetup, ztapi
from zope.app.testing.setup import placefulSetUp, placefulTearDown
-from zope.app.session.interfaces import \
+from zope.session.interfaces import \
IClientId, IClientIdManager, ISession, ISessionDataContainer
-from zope.app.session.session import \
+from zope.session.session import \
ClientId, Session, PersistentSessionDataContainer
-from zope.app.session.http import CookieClientIdManager
+from zope.session.http import CookieClientIdManager
from zope.publisher import base
from zope.app.authentication.session import SessionCredentialsPlugin
More information about the Checkins
mailing list