-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
configure.zcml
51 lines (38 loc) · 1.51 KB
/
configure.zcml
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
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:zcml="http://namespaces.zope.org/zcml"
xmlns:browser="http://namespaces.zope.org/browser"
xmlns:five="http://namespaces.zope.org/five"
xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
i18n_domain="pas.plugins.ldap">
<include package="five.globalrequest" />
<five:registerPackage package="." initialize=".initialize" />
<include package="Products.GenericSetup" file="meta.zcml" />
<include package=".zmi" />
<genericsetup:registerProfile
name="default"
title="LDAP Plugin for PAS - Zope 2 Base Installation"
directory="profile"
description="Extension profile for pas.plugins.ldap Zope Base."
provides="Products.GenericSetup.interfaces.EXTENSION"
post_handler=".setuphandlers.post_install" />
<genericsetup:upgradeStep
source="1"
destination="2"
title="Unregister broken old persistent import step"
profile="pas.plugins.ldap:default"
handler=".setuphandlers.remove_persistent_import_step" />
<adapter factory=".properties.LDAPProps" />
<adapter factory=".properties.UsersConfig" />
<adapter factory=".properties.GroupsConfig" />
<utility
factory=".cache.cacheProviderFactory"
provides="node.ext.ldap.interfaces.ICacheProviderFactory" />
<include
zcml:condition="installed Products.CMFPlone"
package=".plonecontrolpanel" />
<adapter
for="* ZPublisher.HTTPRequest.HTTPRequest"
factory=".monkey.PortraitTraverser"
name="portrait" />
</configure>