1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
<configure xmlns="http://namespaces.zope.org/zope"
package="zope.app.session">
<!-- The following is a direct copy of zope/app/session/configure.zcml
but with the parts that directly depend on the ZODB taken out.
-->
<adapter
for="zope.publisher.interfaces.IRequest"
provides=".interfaces.IClientId"
factory=".session.ClientId"
permission="zope.Public"
/>
<adapter
for="zope.publisher.interfaces.IRequest"
provides=".interfaces.ISession"
factory=".session.Session"
permission="zope.Public"
/>
<adapter
for="zope.publisher.interfaces.IRequest"
provides="zope.app.traversing.interfaces.IPathAdapter"
factory=".session.Session"
name="session"
permission="zope.Public"
/>
<content class=".session.Session">
<allow interface=".interfaces.ISession" />
<implements interface="zope.app.traversing.interfaces.IPathAdapter" />
</content>
<content class=".http.CookieClientIdManager">
<require
interface=".http.ICookieClientIdManager"
permission="zope.Public" />
<require
set_schema=".http.ICookieClientIdManager"
permission="zope.ManageServices" />
</content>
<content class=".session.PersistentSessionDataContainer">
<require
interface=".interfaces.ISessionDataContainer"
permission="zope.Public" />
<require
set_schema=".interfaces.ISessionDataContainer"
permission="zope.ManageServices" />
</content>
<content class=".session.RAMSessionDataContainer">
<require
interface=".interfaces.ISessionDataContainer"
permission="zope.Public" />
<require
set_schema=".interfaces.ISessionDataContainer"
permission="zope.ManageServices" />
</content>
<content class=".session.SessionData">
<allow interface=".interfaces.ISessionData" />
</content>
<content class=".session.SessionPkgData">
<allow interface=".interfaces.ISessionPkgData" />
</content>
<!-- Don't want this. Direct ZODB dependency.
<subscriber
for="zope.app.appsetup.IDatabaseOpenedEvent"
factory=".bootstrap.bootStrapSubscriber"
/>
-->
<include file="browser.zcml" />
</configure>
|