root/releases/bedework-3.6/config/bwbuild/jboss-mysql/carddav.options.xml

Revision 2931 (checked in by douglm, 3 years ago)

1. Upgraded ical4j to the latest version + some local changes. This allows us to probably feed back a number of pending changes (mostly related to scheduling) and also address a bug noticed by Eric Wittmann which showed up under load.

This upgrade involved changing the version number and using the calculateRecurrenceSet method to handle much of the work formerly done by RecurUtil?.

Also uncovered a bug in SysIntfReader? - eof was not being handled correctly.

2. Some changes to the carddav configuration to better handle the web interface.

3. Small bug fixed in CoreCalendars? - caused NPE if calendar was deleted before indexer got to it.

4. ChangeTable? - don't test recurrence master properties for an override.

5. Scheduling changes -
a. CalSvc? event update methods took Attendee object as parameter - switch to uri to fix a problem handling overrides - use the uri to identify the attendee but take PARTSTAT from corresponding override/master
b. Refactor slightly - move stuff from SchedulingBase? to OrganizerSchedulingHandler?

6. Fix bad recurrence-ids for date only recurring events. We need to update the schema to fix this properly.

7. Changes for list attendees action in web client.

Line 
1 <!-- This provides run time options for the CardDAV server.
2   -->
3 <bedework-options>
4   <org>
5     <bedework>
6       <global>
7         <version>3.6</version>
8
9         <dirhandlers>
10           <!-- handle the principal hierarchy.
11                This could be a read-only interface if we don't intend to allow
12                modification of the enterprise directory.
13
14                However, we may need to merge in subsidiary information to handle
15                principal properties. That may mean maintaining a shadow
16                principal hierarchy in the local server.
17                
18                Each element name below must be unique.
19             -->
20           <principal-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" >
21             <pathPrefix>/principals</pathPrefix>
22             <className>org.bedework.carddav.server.dirHandlers.LdapPrincipalDirHandler</className>
23
24             <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory>
25             <providerUrl>ldap://localhost:10389/</providerUrl>
26             <baseDn>dc=bedework, dc=org</baseDn>
27
28             <queryLimit>1000</queryLimit>
29
30             <!-- We need to get operational attributes from the directory.
31                This requires us to explicitly name all attributes on fetch.
32                This element allows us to name EXTRA attributes from the default
33                list provided by the implementation.
34               -->
35             <attrIds></attrIds>
36
37             <addressbookObjectClass>organizationalUnit</addressbookObjectClass>
38             <addressbookIdAttr>ou</addressbookIdAttr>
39
40             <authDn>uid=admin,ou=system</authDn>
41             <authPw>secret</authPw>
42
43             <debug>true</debug>
44           </principal-dirHandler>
45
46           <user-principal-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" >
47             <pathPrefix>/principals/users</pathPrefix>
48             <addressBook>true</addressBook>
49
50             <className>org.bedework.carddav.server.dirHandlers.LdapPrincipalDirHandler</className>
51
52             <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory>
53             <providerUrl>ldap://localhost:10389/</providerUrl>
54             <baseDn>ou=accounts,dc=bedework,dc=org</baseDn>
55
56             <queryLimit>1000</queryLimit>
57
58             <attrIds></attrIds>
59
60             <cardKind>individual</cardKind>
61
62             <addressbookObjectClass>organizationalUnit</addressbookObjectClass>
63             <addressbookIdAttr>ou</addressbookIdAttr>
64
65             <addressbookEntryObjectClass>inetOrgPerson</addressbookEntryObjectClass>
66             <addressbookEntryIdAttr>uid</addressbookEntryIdAttr>
67
68             <principalIdAttr>uid</principalIdAttr>
69
70             <authDn>uid=admin,ou=system</authDn>
71             <authPw>secret</authPw>
72
73             <debug>true</debug>
74           </user-principal-dirHandler>
75
76           <group-principal-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" >
77             <pathPrefix>/principals/groups</pathPrefix>
78             <addressBook>true</addressBook>
79
80             <className>org.bedework.carddav.server.dirHandlers.LdapPrincipalDirHandler</className>
81
82             <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory>
83             <providerUrl>ldap://localhost:10389/</providerUrl>
84
85             <baseDn>ou=groups,dc=bedework,dc=org</baseDn>
86
87             <queryLimit>1000</queryLimit>
88
89             <attrIds></attrIds>
90
91             <cardKind>group</cardKind>
92
93             <addressbookObjectClass>organizationalUnit</addressbookObjectClass>
94             <addressbookIdAttr>ou</addressbookIdAttr>
95
96             <addressbookEntryObjectClass>groupOfUniqueNames</addressbookEntryObjectClass>
97             <addressbookEntryIdAttr>cn</addressbookEntryIdAttr>
98
99             <principalIdAttr>cn</principalIdAttr>
100
101             <authDn>uid=admin,ou=system</authDn>
102             <authPw>secret</authPw>
103
104             <debug>true</debug>
105           </group-principal-dirHandler>
106
107           <!-- handle the user address book hierarchy -->
108           <user-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" >
109             <pathPrefix>/user</pathPrefix>
110             <className>org.bedework.carddav.server.dirHandlers.LdapAddrBookDirHandler</className>
111
112             <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory>
113             <providerUrl>ldap://localhost:10389/</providerUrl>
114
115             <baseDn>ou=users,ou=addrbooks,dc=bedework,dc=org</baseDn>
116
117             <queryLimit>1000</queryLimit>
118
119             <attrIds></attrIds>
120
121             <folderObjectClass>organizationalUnit</folderObjectClass>
122             <folderIdAttr>ou</folderIdAttr>
123
124             <addressbookObjectClass>addressBook</addressbookObjectClass>
125             <addressbookIdAttr>ou</addressbookIdAttr>
126
127             <addressbookEntryObjectClass>inetOrgPerson</addressbookEntryObjectClass>
128             <addressbookEntryIdAttr>cn</addressbookEntryIdAttr>
129
130             <authDn>uid=admin,ou=system</authDn>
131             <authPw>secret</authPw>
132             <debug>true</debug>
133           </user-dirHandler>
134
135           <public-locations-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" >
136             <pathPrefix>/public/locations</pathPrefix>
137
138             <className>org.bedework.carddav.server.dirHandlers.LdapAddrBookDirHandler</className>
139
140             <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory>
141             <providerUrl>ldap://localhost:10389/</providerUrl>
142             <baseDn>ou=locations,dc=bedework,dc=org</baseDn>
143
144             <queryLimit>1000</queryLimit>
145
146             <attrIds></attrIds>
147
148             <cardKind>location</cardKind>
149
150             <addressbookObjectClass>organizationalUnit</addressbookObjectClass>
151             <addressbookIdAttr>ou</addressbookIdAttr>
152
153             <addressbookEntryObjectClass>CalendarResource</addressbookEntryObjectClass>
154             <addressbookEntryIdAttr>cn</addressbookEntryIdAttr>
155
156             <principalIdAttr>calcaladruri</principalIdAttr>
157
158             <authDn>uid=admin,ou=system</authDn>
159             <authPw>secret</authPw>
160
161             <debug>true</debug>
162           </public-locations-dirHandler>
163
164           <!-- handle the public (enterprise) address book hierarchy -->
165           <public-dirHandler classname="org.bedework.carddav.util.LdapDirHandlerConfig" >
166             <pathPrefix>/public</pathPrefix>
167             <className>org.bedework.carddav.server.dirHandlers.LdapAddrBookDirHandler</className>
168
169             <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory>
170             <providerUrl>ldap://localhost:10389/</providerUrl>
171
172             <baseDn>ou=public,ou=addrbooks,dc=bedework,dc=org</baseDn>
173
174             <queryLimit>1000</queryLimit>
175
176             <attrIds></attrIds>
177
178             <folderObjectClass>organizationalUnit</folderObjectClass>
179             <addressbookObjectClass>addressBook</addressbookObjectClass>
180             <addressbookEntryObjectClass>inetOrgPerson</addressbookEntryObjectClass>
181
182             <folderIdAttr>ou</folderIdAttr>
183             <addressbookIdAttr>ou</addressbookIdAttr>
184             <addressbookEntryIdAttr>cn</addressbookEntryIdAttr>
185
186             <authDn>uid=admin,ou=system</authDn>
187             <authPw>secret</authPw>
188             <debug>true</debug>
189           </public-dirHandler>
190         </dirhandlers>
191       </global>
192
193       <app>
194         <usercarddav classname="org.bedework.carddav.util.CardDAVConfig" >
195           <sysintfImpl>org.bedework.carddav.bwserver.BwSysIntfImpl</sysintfImpl>
196          
197           <webaddrServiceURI>/find</webaddrServiceURI>
198           <webaddrServicePropertiesList>fn,email,note,org</webaddrServicePropertiesList>
199           <webaddrPublicAddrbook>/principals/users</webaddrPublicAddrbook>
200
201           <directoryBrowsingDisallowed>false</directoryBrowsingDisallowed>
202
203           <defaultAddressbook>address-book</defaultAddressbook>
204
205           <addressBookHandlerPrefix>/user</addressBookHandlerPrefix>
206
207           <principalRoot>/principals</principalRoot>
208           <userPrincipalRoot>/principals/users</userPrincipalRoot>
209           <groupPrincipalRoot>/principals/groups</groupPrincipalRoot>
210           <resourcePrincipalRoot>/principals/resources</resourcePrincipalRoot>
211           <venuePrincipalRoot>/principals/locations</venuePrincipalRoot>
212           <ticketPrincipalRoot>/principals/tickets</ticketPrincipalRoot>
213           <hostPrincipalRoot>/principals/hosts</hostPrincipalRoot>
214         </usercarddav>
215
216         <pubcarddav classname="org.bedework.carddav.util.CardDAVConfig" >
217           <sysintfImpl>org.bedework.carddav.bwserver.BwSysIntfImpl</sysintfImpl>
218          
219           <webaddrServiceURI>/find</webaddrServiceURI>
220           <webaddrServicePropertiesList>fn,note,org</webaddrServicePropertiesList>
221           <webaddrPublicAddrbook>/principals/users</webaddrPublicAddrbook>
222
223           <directoryBrowsingDisallowed>false</directoryBrowsingDisallowed>
224
225           <defaultAddressbook>address-book</defaultAddressbook>
226
227           <addressBookHandlerPrefix>/public</addressBookHandlerPrefix>
228
229           <principalRoot>/principals</principalRoot>
230           <userPrincipalRoot>/principals/users</userPrincipalRoot>
231           <groupPrincipalRoot>/principals/groups</groupPrincipalRoot>
232           <resourcePrincipalRoot>/principals/resources</resourcePrincipalRoot>
233           <venuePrincipalRoot>/principals/locations</venuePrincipalRoot>
234           <ticketPrincipalRoot>/principals/tickets</ticketPrincipalRoot>
235           <hostPrincipalRoot>/principals/hosts</hostPrincipalRoot>
236         </pubcarddav>
237       </app>
238     </bedework>
239   </org>
240 </bedework-options>
Note: See TracBrowser for help on using the browser.