root/trunk/config/bwbuild/mysql/cal.options.xml

Revision 2440 (checked in by douglm, 4 years ago)

Refactor a little - new GetHandler? abstract class to handle special uris targetted at caldav.

Add new processing to support ischedule capabilities.

Change option name in cal.options from real-time to ischedule

Line 
1 <!-- This provides run time options for each of the configured applications.
2   -->
3 <bedework-options>
4   <org>
5     <bedework>
6       <global>
7         <version>3.6</version>
8
9         <!-- This property is how the running system finds the system settings.
10              In theory we could have multiple settings with different names
11          -->
12         <systemName>bedework</systemName>
13
14         <!-- This is used to prefix administrative group names to distinguish
15              them from user group names. -->
16         <adminGroupsIdPrefix>agrp_</adminGroupsIdPrefix>
17
18         <!-- Uncomment this and set the value to one of the supported portals
19              Values that will result in something happening are
20              liferay5
21              liferay4
22              uportal2
23         <portalPlatform>your-portal</portalPlatform>
24          -->
25
26         <!-- uris to cross link apps - of dubious usefulness -->
27         <publicAdminUri>/caladmin</publicAdminUri>
28         <publicCalendarUri>/cal</publicCalendarUri>
29         <personalCalendarUri>/ucal</personalCalendarUri>
30
31         <!-- CardDAV server locations -->
32         <publicCardDAVUri>http://localhost:8080/carddav</publicCardDAVUri>
33         <personalCardDAVUri>http://localhost:8080/ucarddav</personalCardDAVUri>
34
35         <!-- Timezone server locations -->
36         <timezonesUri>http://localhost:8080/tzsvr</timezonesUri>
37
38         <systemRoots  classname="org.bedework.calfacade.configs.SystemRoots" >
39           <principalRoot>/principals</principalRoot>
40           <userPrincipalRoot>/principals/users</userPrincipalRoot>
41           <groupPrincipalRoot>/principals/groups</groupPrincipalRoot>
42           <bwadmingroupPrincipalRoot>/principals/groups/bwadmin</bwadmingroupPrincipalRoot>
43           <resourcePrincipalRoot>/principals/resources</resourcePrincipalRoot>
44           <venuePrincipalRoot>/principals/locations</venuePrincipalRoot>
45           <ticketPrincipalRoot>/principals/tickets</ticketPrincipalRoot>
46           <hostPrincipalRoot>/principals/hosts</hostPrincipalRoot>
47         </systemRoots>
48
49         <module>
50           <!-- A dummy module with no directory. -->
51           <dir-config classname="org.bedework.calfacade.configs.DirConfigProperties">
52             <!-- List domains at your site separated by commas.
53                     A single leading wildcard "*" is allowed.
54                     If there is a single domain with no wildcard it wil be stripped from
55                     user accounts as they are entered and added as they are turned
56                     back into CUAs.
57                     Wildcarded or multiple domains will cause retention of the domain
58                     (partially untested feature) -->
59             <domains>mysite.edu</domains>
60
61             <!-- defaultDomain can be left unspecified for no default or a single
62                    exactly specified domain  -->
63             <defaultDomain>mysite.edu</defaultDomain>
64
65             <debug>true</debug>
66           </dir-config>
67
68           <!-- An example of how we might configure an ldap directory module. -->
69           <user-ldap-group classname="org.bedework.calfacade.configs.LdapConfigProperties">
70             <domains>mysite.edu</domains>
71             <defaultDomain>mysite.edu</defaultDomain>
72
73             <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory>
74             <providerUrl>ldap://localhost:10389</providerUrl>
75             <groupContextDn>ou=groups, dc=bedework, dc=org</groupContextDn>
76             <groupMemberAttr>member</groupMemberAttr>
77             <userDnPrefix>uid=</userDnPrefix>
78             <userDnSuffix>,ou=accounts, dc=bedework, dc=org</userDnSuffix>
79             <groupDnPrefix>cn=</groupDnPrefix>
80             <groupDnSuffix>,ou=groups, dc=bedework, dc=org</groupDnSuffix>
81             <debug>true</debug>
82
83             <securityAuthentication>simple</securityAuthentication>
84             <securityProtocol>NONE</securityProtocol>
85             <authDn>uid=admin,ou=system</authDn>
86             <authPw>secret</authPw>
87           </user-ldap-group>
88
89           <testmail classname="org.bedework.mail.MailConfigProperties">
90             <protocol>smtp</protocol>
91             <protocolClass>com.sun.mail.smtp.SMTPTransport</protocolClass>
92             <serverIp>localhost</serverIp>
93             <from>calendar.myplace.edu</from>
94             <subject>Message from demo calendar server</subject>
95             <disabled>false</disabled>
96           </testmail>
97
98           <dummymail classname="org.bedework.mail.MailConfigProperties">
99             <disabled>false</disabled>
100           </dummymail>
101
102           <default-pwencrypt classname="org.bedework.calfacade.security.DefaultPwEncryptionConfig">
103             <privKeys>@QUICKSTART_DIR@/data/bedework/privkeys</privKeys>
104             <pubKeys>@QUICKSTART_DIR@/data/bedework/pubkeys</pubKeys>
105
106             <debug>true</debug>
107             <verbose>true</verbose>
108           </default-pwencrypt>
109         </module>
110       </global>
111
112       <syspars classname="org.bedework.calfacade.BwSystem">
113         <!-- name must match the global system name -->
114         <name>bedework</name>
115         <tzid>America/New_York</tzid>
116         <systemid>demobedework@mysite.edu</systemid>
117
118         <publicCalendarRoot>public</publicCalendarRoot>
119         <userCalendarRoot>user</userCalendarRoot>
120         <userDefaultCalendar>calendar</userDefaultCalendar>
121         <defaultTrashCalendar>Trash</defaultTrashCalendar>
122         <userInbox>Inbox</userInbox>
123         <userOutbox>Outbox</userOutbox>
124         <deletedCalendar>Deleted</deletedCalendar>
125         <busyCalendar>Busy</busyCalendar>
126
127         <defaultUserViewName>All</defaultUserViewName>
128         <defaultUserHour24>true</defaultUserHour24>
129
130         <publicUser>public-user</publicUser>
131
132         <httpConnectionsPerUser>10</httpConnectionsPerUser>
133         <httpConnectionsPerHost>50</httpConnectionsPerHost>
134         <httpConnections>200</httpConnections>
135
136         <!-- size limits -->
137         <maxPublicDescriptionLength>500</maxPublicDescriptionLength>
138         <maxUserDescriptionLength>5000</maxUserDescriptionLength>
139         <maxUserEntitySize>100000</maxUserEntitySize>
140         <defaultUserQuota>10000000</defaultUserQuota> <!-- 10 Meg OK? -->
141
142         <!-- Max number of instances per recurring event -->
143         <maxInstances>1000</maxInstances>
144
145         <!-- Max number of years per recurring event -->
146         <maxYears>50</maxYears>
147
148         <userauthClass>org.bedework.calsvc.directory.UserAuthUWDbImpl</userauthClass>
149         <mailerClass>org.bedework.mail.DummyMailer</mailerClass>
150         <admingroupsClass>org.bedework.calsvc.directory.AdminGroupsDbImpl</admingroupsClass>
151         <usergroupsClass>org.bedework.calsvc.directory.UserGroupsLdapImpl</usergroupsClass>
152         <!--
153         <usergroupsClass>org.bedework.calsvc.directory.GroupsDbImpl</usergroupsClass>
154         -->
155
156         <directoryBrowsingDisallowed>true</directoryBrowsingDisallowed>
157
158         <indexRoot>lucene/indexroot</indexRoot>
159
160         <rootUsers>admin</rootUsers>
161       </syspars>
162
163       <app>
164         <!-- ==================================================================
165                           Timezones server
166              ================================================================== -->
167         <tzsvr classname="org.bedework.calfacade.configs.ConfigCommon">
168           <appType>tzsvr</appType>
169           <publicAdmin>false</publicAdmin>
170           <guestMode>true</guestMode>
171         </tzsvr>
172
173         <!-- ==================================================================
174                           Config web client
175              ================================================================== -->
176         <bwconfig classname="org.bedework.calfacade.configs.ConfigCommon">
177           <appType>webconfig</appType>
178           <publicAdmin>false</publicAdmin>
179           <guestMode>false</guestMode>
180         </bwconfig>
181
182         <!-- ==================================================================
183                           Admin web client CalAdmin
184              ================================================================== -->
185         <CalAdmin classname="org.bedework.calfacade.configs.AdminConfig">
186           <autoCreateContacts>false</autoCreateContacts>
187           <autoDeleteContacts>false</autoDeleteContacts>
188           <autoCreateLocations>false</autoCreateLocations>
189           <autoDeleteLocations>false</autoDeleteLocations>
190
191           <!-- if these are false only superuser can maintain public
192                categories, locations and contacts -->
193           <allowEditAllCategories>true</allowEditAllCategories>
194           <allowEditAllLocations>true</allowEditAllLocations>
195           <allowEditAllContacts>true</allowEditAllContacts>
196
197           <categoryOptional>true</categoryOptional>
198
199           <noGroupAllowed>false</noGroupAllowed>
200
201           <appType>webadmin</appType>
202           <publicAdmin>true</publicAdmin>
203           <guestMode>false</guestMode>
204
205           <!-- This will become a system configuration in time -->
206           <submissionRoot>/public/unbrowsable/submissions</submissionRoot>
207
208           <!-- Default value for 24 hour mode -->
209           <hour24>true</hour24>
210
211           <!-- Default value for minute increments -->
212           <minIncrement>5</minIncrement>
213
214           <logPrefix>PubEventsAdmin</logPrefix>
215
216           <appRoot>http://localhost:8080/caladminrsrc</appRoot>
217         </CalAdmin>
218
219         <!-- ==================================================================
220                           Public event submission web client EventSubmit
221              ================================================================== -->
222         <EventSubmit classname="org.bedework.calfacade.configs.ClientConfig">
223           <autoCreateContacts>false</autoCreateContacts>
224           <autoDeleteContacts>false</autoDeleteContacts>
225           <autoCreateLocations>false</autoCreateLocations>
226           <autoDeleteLocations>false</autoDeleteLocations>
227
228           <appType>websubmit</appType>
229           <publicAdmin>false</publicAdmin>
230           <guestMode>false</guestMode>
231
232           <!-- This will become a system configuration in time -->
233           <submissionRoot>/public/unbrowsable/submissions</submissionRoot>
234
235           <!-- Default value for 24 hour mode -->
236           <hour24>true</hour24>
237
238           <!-- Default value for minute increments -->
239           <minIncrement>5</minIncrement>
240
241           <showYearData>false</showYearData>
242
243           <logPrefix>EventSubmit</logPrefix>
244
245           <appRoot>http://localhost:8080/eventsubmitrsrc</appRoot>
246
247           <refreshAction>setup.do</refreshAction>
248           <refreshInterval>900</refreshInterval>
249         </EventSubmit>
250
251         <!-- ==================================================================
252                           Public web client Events - Duke/Yale Theme
253              ================================================================== -->
254         <Events classname="org.bedework.calfacade.configs.ClientConfig">
255           <cachingOn>true</cachingOn>
256           <cachePrefix>bwpubevents</cachePrefix>
257
258           <autoCreateContacts>false</autoCreateContacts>
259           <autoDeleteContacts>false</autoDeleteContacts>
260           <autoCreateLocations>false</autoCreateLocations>
261           <autoDeleteLocations>false</autoDeleteLocations>
262
263           <appType>webpublic</appType>
264           <publicAdmin>false</publicAdmin>
265           <guestMode>true</guestMode>
266
267           <!-- Default value for 24 hour mode -->
268           <hour24>true</hour24>
269
270           <!-- Default value for minute increments -->
271           <minIncrement>5</minIncrement>
272
273           <showYearData>false</showYearData>
274
275           <logPrefix>PubEvents</logPrefix>
276
277           <appRoot>http://localhost:8080/calrsrc</appRoot>
278
279           <refreshAction>setup.do</refreshAction>
280           <refreshInterval>300</refreshInterval>
281
282           <calSuite>MainCampus</calSuite>
283         </Events>
284
285         <!-- ==================================================================
286                           Public web client Events - BwClassic Theme
287              ================================================================== -->
288         <Events classname="org.bedework.calfacade.configs.ClientConfig">
289           <cachingOn>true</cachingOn>
290           <cachePrefix>bwpubevents</cachePrefix>
291
292           <autoCreateContacts>false</autoCreateContacts>
293           <autoDeleteContacts>false</autoDeleteContacts>
294           <autoCreateLocations>false</autoCreateLocations>
295           <autoDeleteLocations>false</autoDeleteLocations>
296
297           <appType>webpublic</appType>
298           <publicAdmin>false</publicAdmin>
299           <guestMode>true</guestMode>
300
301           <!-- Default value for 24 hour mode -->
302           <hour24>true</hour24>
303
304           <!-- Default value for minute increments -->
305           <minIncrement>5</minIncrement>
306
307           <showYearData>false</showYearData>
308
309           <logPrefix>BwClasic</logPrefix>
310
311           <appRoot>http://localhost:8080/calrsrc</appRoot>
312
313           <refreshAction>setup.do</refreshAction>
314           <refreshInterval>300</refreshInterval>
315
316           <calSuite>BwClassic</calSuite>
317         </Events>
318
319
320
321         <!-- ==================================================================
322                           Feed Service
323              ================================================================== -->
324         <Feeder classname="org.bedework.calfacade.configs.ClientConfig">
325           <cachingOn>true</cachingOn>
326           <cachePrefix>bwfeeder</cachePrefix>
327
328           <autoCreateContacts>false</autoCreateContacts>
329           <autoDeleteContacts>false</autoDeleteContacts>
330           <autoCreateLocations>false</autoCreateLocations>
331           <autoDeleteLocations>false</autoDeleteLocations>
332
333           <appType>feeder</appType>
334           <publicAdmin>false</publicAdmin>
335           <guestMode>true</guestMode>
336
337           <!-- Default value for 24 hour mode -->
338           <hour24>true</hour24>
339
340           <!-- Default value for minute increments -->
341           <minIncrement>5</minIncrement>
342
343           <showYearData>false</showYearData>
344
345           <logPrefix>Feeder</logPrefix>
346
347           <appRoot>http://localhost:8080/calfeedrsrc</appRoot>
348
349           <refreshAction>setup.do</refreshAction>
350           <refreshInterval>300</refreshInterval>
351
352           <calSuite>MainCampus</calSuite>
353         </Feeder>
354
355         <!-- ==================================================================
356                           Demo departmental Public web client SoEDept
357              ================================================================== -->
358         <SoEDept classname="org.bedework.calfacade.configs.ClientConfig">
359           <cachingOn>true</cachingOn>
360           <cachePrefix>bwpubevents</cachePrefix>
361
362           <autoCreateContacts>false</autoCreateContacts>
363           <autoDeleteContacts>false</autoDeleteContacts>
364           <autoCreateLocations>false</autoCreateLocations>
365           <autoDeleteLocations>false</autoDeleteLocations>
366
367           <appType>webpublic</appType>
368           <publicAdmin>false</publicAdmin>
369           <guestMode>true</guestMode>
370
371           <!-- Default value for 24 hour mode -->
372           <hour24>true</hour24>
373
374           <!-- Default value for minute increments -->
375           <minIncrement>5</minIncrement>
376
377           <showYearData>false</showYearData>
378
379           <logPrefix>SoEDept</logPrefix>
380
381           <appRoot>http://localhost:8080/calrsrc</appRoot>
382
383           <refreshAction>setup.do</refreshAction>
384           <refreshInterval>300</refreshInterval>
385
386           <calSuite>SoEDepartmental</calSuite>
387         </SoEDept>
388
389         <!-- ==================================================================
390                           User web client UserCal
391              ================================================================== -->
392         <UserCal classname="org.bedework.calfacade.configs.ClientConfig">
393           <autoCreateContacts>false</autoCreateContacts>
394           <autoDeleteContacts>false</autoDeleteContacts>
395           <autoCreateLocations>false</autoCreateLocations>
396           <autoDeleteLocations>false</autoDeleteLocations>
397
398           <appType>webuser</appType>
399           <publicAdmin>false</publicAdmin>
400           <guestMode>false</guestMode>
401
402           <!-- Default value for 24 hour mode -->
403           <hour24>true</hour24>
404
405           <!-- Default value for minute increments -->
406           <minIncrement>5</minIncrement>
407
408           <showYearData>false</showYearData>
409
410           <logPrefix>PersonalCalendar</logPrefix>
411
412           <appRoot>http://localhost:8080/ucalrsrc</appRoot>
413
414           <refreshAction>setup.do</refreshAction>
415           <refreshInterval>300</refreshInterval>
416         </UserCal>
417
418         <!-- ==================================================================
419                           User CalDAV server UserCalDAV
420              ================================================================== -->
421         <Usercaldav classname="org.bedework.caldav.util.CalDAVConfig">
422           <appType>usercaldav</appType>
423           <!--
424           <publicAdmin>false</publicAdmin>
425           -->
426           <guestMode>false</guestMode>
427
428           <sysintfImpl>org.bedework.caldav.bwserver.BwSysIntfImpl</sysintfImpl>
429
430           <!-- Comment out or delete for no ischedule service
431                Currently under development and may present a security risk in
432                production systems
433                
434                Note that the uri "/ischedule" is defined in the draft and should
435                not be changed to some other value. -->
436           <ischeduleURI>/ischedule</ischeduleURI>
437
438           <!-- Comment out or delete for no freebusy url service -->
439           <fburlServiceURI>/fbsvc</fburlServiceURI>
440
441           <!-- Comment out or delete for no web calendar service -->
442           <webcalServiceURI>/webcal</webcalServiceURI>
443         </Usercaldav>
444
445         <!-- ==================================================================
446                           Public (unauthenticated) CalDAV server PublicCalDAV
447              ================================================================== -->
448         <Pubcaldav classname="org.bedework.caldav.util.CalDAVConfig">
449           <appType>publiccaldav</appType>
450           <!--
451           <publicAdmin>false</publicAdmin>
452            -->
453           <guestMode>true</guestMode>
454
455           <sysintfImpl>org.bedework.caldav.bwserver.BwSysIntfImpl</sysintfImpl>
456
457           <!-- Comment out or delete for no ischedule service
458                Currently under development and may present a security risk in
459                production systems
460                
461                Note that the uri "/ischedule" is defined in the draft and should
462                not be changed to some other value. -->
463           <ischeduleURI>/ischedule</ischeduleURI>
464
465           <!-- Comment out or delete for no freebusy url service -->
466           <fburlServiceURI>/fbsvc</fburlServiceURI>
467
468           <!-- Comment out or delete for no web calendar service -->
469           <webcalServiceURI>/webcal</webcalServiceURI>
470         </Pubcaldav>
471
472         <!-- ==================================================================
473                           CalDAV test suite
474              ================================================================== -->
475         <caldavTest classname="org.bedework.calfacade.configs.ConfigCommon">
476           <appType>caldavTest</appType>
477           <publicAdmin>false</publicAdmin>
478           <guestMode>false</guestMode>
479         </caldavTest>
480
481         <!-- ==================================================================
482                           bedework test suite
483              ================================================================== -->
484         <test classname="org.bedework.calfacade.configs.ConfigCommon">
485           <appType>testsuite</appType>
486           <publicAdmin>false</publicAdmin>
487           <guestMode>false</guestMode>
488         </test>
489
490         <!-- ==================================================================
491                           Dump restore program dumpres
492              ================================================================== -->
493         <dumpres classname="org.bedework.calfacade.configs.DumpRestoreConfig">
494           <debug>true</debug>
495           <appType>dumprestore</appType>
496           <guestMode>true</guestMode>
497           <debugEntity>false</debugEntity>
498           <superGroupName>campusAdminGroups</superGroupName>
499           <defaultPublicCalPath>/public/Other Events/Other</defaultPublicCalPath>
500         </dumpres>
501
502         <!-- ==================================================================
503                           Crawler program
504              ================================================================== -->
505         <indexer classname="org.bedework.calfacade.configs.BwCrawlerConfig">
506           <debug>true</debug>
507           <appType>indexer</appType>
508           <guestMode>true</guestMode>
509           <debugEntity>false</debugEntity>
510         </indexer>
511
512         <!-- ==================================================================
513                           System events logger program
514              ================================================================== -->
515         <sysevlog classname="org.bedework.calfacade.configs.BwCrawlerConfig">
516           <debug>true</debug>
517           <appType>sysevlog</appType>
518           <guestMode>true</guestMode>
519           <debugEntity>false</debugEntity>
520         </sysevlog>
521
522         <!-- ==================================================================
523                           In/outbox scheduler program
524              ================================================================== -->
525         <iosched classname="org.bedework.calfacade.configs.BwCrawlerConfig">
526           <debug>true</debug>
527           <appType>inoutsched</appType>
528           <guestMode>true</guestMode>
529           <debugEntity>false</debugEntity>
530         </iosched>
531       </app>
532     </bedework>
533   </org>
534 </bedework-options>
535
Note: See TracBrowser for help on using the browser.