ZCML File
classes.zcml

<configure
    xmlns="http://namespaces.zope.org/zope"
    >
<class
    class=".session.Session"
    >
<allow
    interface=".interfaces.ISession"
    />
</class>
<class
    class=".http.CookieClientIdManager"
    >
<require
    permission="zope.Public"
    interface=".http.ICookieClientIdManager"
    />
<require
    permission="zope.ManageServices"
    set_schema=".http.ICookieClientIdManager"
    />
<require
    permission="zope.Public"
    interface="zope.location.ILocation"
    />
<require
    permission="zope.ManageServices"
    set_schema="zope.location.ILocation"
    />
</class>
<class
    class=".session.PersistentSessionDataContainer"
    >
<require
    permission="zope.Public"
    interface=".interfaces.ISessionDataContainer"
    />
<require
    permission="zope.ManageServices"
    set_schema=".interfaces.ISessionDataContainer"
    />
<require
    permission="zope.Public"
    interface="zope.location.ILocation"
    />
<require
    permission="zope.ManageServices"
    set_schema="zope.location.ILocation"
    />
</class>
<class
    class=".session.RAMSessionDataContainer"
    >
<require
    permission="zope.Public"
    interface=".interfaces.ISessionDataContainer"
    />
<require
    permission="zope.ManageServices"
    set_schema=".interfaces.ISessionDataContainer"
    />
<require
    permission="zope.Public"
    interface="zope.location.ILocation"
    />
<require
    permission="zope.ManageServices"
    set_schema="zope.location.ILocation"
    />
</class>
<class
    class=".session.SessionData"
    >
<allow
    interface=".interfaces.ISessionData"
    />
</class>
<class
    class=".session.SessionPkgData"
    >
<allow
    interface=".interfaces.ISessionPkgData"
    />
</class>
</configure>