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

Revision 2440 (checked in by douglm, 3 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

  • Property svn:eol-style set to LF
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                           Feed Service
321              ================================================================== -->
322         <Feeder classname="org.bedework.calfacade.configs.ClientConfig">
323           <cachingOn>true</cachingOn>
324           <cachePrefix>bwfeeder</cachePrefix>
325
326           <autoCreateContacts>false</autoCreateContacts>
327           <autoDeleteContacts>false</autoDeleteContacts>
328           <autoCreateLocations>false</autoCreateLocations>
329           <autoDeleteLocations>false</autoDeleteLocations>
330
331           <appType>feeder</appType>
332           <publicAdmin>false</publicAdmin>
333           <guestMode>true</guestMode>
334
335           <!-- Default value for 24 hour mode -->
336           <hour24>true</hour24>
337
338           <!-- Default value for minute increments -->
339           <minIncrement>5</minIncrement>
340
341           <showYearData>false</showYearData>
342
343           <logPrefix>Feeder</logPrefix>
344
345           <appRoot>http://localhost:8080/calfeedrsrc</appRoot>
346
347           <refreshAction>setup.do</refreshAction>
348           <refreshInterval>300</refreshInterval>
349
350           <calSuite>MainCampus</calSuite>
351         </Feeder>
352
353         <!-- ==================================================================
354                           Demo departmental Public web client SoEDept
355              ================================================================== -->
356         <SoEDept classname="org.bedework.calfacade.configs.ClientConfig">
357           <cachingOn>true</cachingOn>
358           <cachePrefix>bwpubevents</cachePrefix>
359
360           <autoCreateContacts>false</autoCreateContacts>
361           <autoDeleteContacts>false</autoDeleteContacts>
362           <autoCreateLocations>false</autoCreateLocations>
363           <autoDeleteLocations>false</autoDeleteLocations>
364
365           <appType>webpublic</appType>
366           <publicAdmin>false</publicAdmin>
367           <guestMode>true</guestMode>
368
369           <!-- Default value for 24 hour mode -->
370           <hour24>true</hour24>
371
372           <!-- Default value for minute increments -->
373           <minIncrement>5</minIncrement>
374
375           <showYearData>false</showYearData>
376
377           <logPrefix>SoEDept</logPrefix>
378
379           <appRoot>http://localhost:8080/calrsrc</appRoot>
380
381           <refreshAction>setup.do</refreshAction>
382           <refreshInterval>300</refreshInterval>
383
384           <calSuite>SoEDepartmental</calSuite>
385         </SoEDept>
386
387         <!-- ==================================================================
388                           User web client UserCal
389              ================================================================== -->
390         <UserCal classname="org.bedework.calfacade.configs.ClientConfig">
391           <autoCreateContacts>false</autoCreateContacts>
392           <autoDeleteContacts>false</autoDeleteContacts>
393           <autoCreateLocations>false</autoCreateLocations>
394           <autoDeleteLocations>false</autoDeleteLocations>
395
396           <appType>webuser</appType>
397           <publicAdmin>false</publicAdmin>
398           <guestMode>false</guestMode>
399
400           <!-- Default value for 24 hour mode -->
401           <hour24>true</hour24>
402
403           <!-- Default value for minute increments -->
404           <minIncrement>5</minIncrement>
405
406           <showYearData>false</showYearData>
407
408           <logPrefix>PersonalCalendar</logPrefix>
409
410           <appRoot>http://localhost:8080/ucalrsrc</appRoot>
411
412           <refreshAction>setup.do</refreshAction>
413           <refreshInterval>300</refreshInterval>
414         </UserCal>
415
416         <!-- ==================================================================
417                           User CalDAV server UserCalDAV
418              ================================================================== -->
419         <Usercaldav classname="org.bedework.caldav.util.CalDAVConfig">
420           <appType>usercaldav</appType>
421           <!--
422           <publicAdmin>false</publicAdmin>
423           -->
424           <guestMode>false</guestMode>
425
426           <sysintfImpl>org.bedework.caldav.bwserver.BwSysIntfImpl</sysintfImpl>
427
428           <!-- Comment out or delete for no ischedule service
429                Currently under development and may present a security risk in
430                production systems
431                
432                Note that the uri "/ischedule" is defined in the draft and should
433                not be changed to some other value. -->
434           <ischeduleURI>/ischedule</ischeduleURI>
435
436           <!-- Comment out or delete for no freebusy url service -->
437           <fburlServiceURI>/fbsvc</fburlServiceURI>
438
439           <!-- Comment out or delete for no web calendar service -->
440           <webcalServiceURI>/webcal</webcalServiceURI>
441         </Usercaldav>
442
443         <!-- ==================================================================
444                           Public (unauthenticated) CalDAV server PublicCalDAV
445              ================================================================== -->
446         <Pubcaldav classname="org.bedework.caldav.util.CalDAVConfig">
447           <appType>publiccaldav</appType>
448           <!--
449           <publicAdmin>false</publicAdmin>
450            -->
451           <guestMode>true</guestMode>
452
453           <sysintfImpl>org.bedework.caldav.bwserver.BwSysIntfImpl</sysintfImpl>
454
455           <!-- Comment out or delete for no ischedule service
456                Currently under development and may present a security risk in
457                production systems
458                
459                Note that the uri "/ischedule" is defined in the draft and should
460                not be changed to some other value. -->
461           <ischeduleURI>/ischedule</ischeduleURI>
462
463           <!-- Comment out or delete for no freebusy url service -->
464           <fburlServiceURI>/fbsvc</fburlServiceURI>
465
466           <!-- Comment out or delete for no web calendar service -->
467           <webcalServiceURI>/webcal</webcalServiceURI>
468         </Pubcaldav>
469
470         <!-- ==================================================================
471                           CalDAV test suite
472              ================================================================== -->
473         <caldavTest classname="org.bedework.calfacade.configs.ConfigCommon">
474           <appType>caldavTest</appType>
475           <publicAdmin>false</publicAdmin>
476           <guestMode>false</guestMode>
477         </caldavTest>
478
479         <!-- ==================================================================
480                           bedework test suite
481              ================================================================== -->
482         <test classname="org.bedework.calfacade.configs.ConfigCommon">
483           <appType>testsuite</appType>
484           <publicAdmin>false</publicAdmin>
485           <guestMode>false</guestMode>
486         </test>
487
488         <!-- ==================================================================
489                           Dump restore program dumpres
490              ================================================================== -->
491         <dumpres classname="org.bedework.calfacade.configs.DumpRestoreConfig">
492           <debug>true</debug>
493           <appType>dumprestore</appType>
494           <guestMode>true</guestMode>
495           <debugEntity>false</debugEntity>
496           <superGroupName>campusAdminGroups</superGroupName>
497           <defaultPublicCalPath>/public/Other Events/Other</defaultPublicCalPath>
498         </dumpres>
499
500         <!-- ==================================================================
501                           Crawler program
502              ================================================================== -->
503         <indexer classname="org.bedework.calfacade.configs.BwCrawlerConfig">
504           <debug>true</debug>
505           <appType>indexer</appType>
506           <guestMode>true</guestMode>
507           <debugEntity>false</debugEntity>
508         </indexer>
509
510         <!-- ==================================================================
511                           System events logger program
512              ================================================================== -->
513         <sysevlog classname="org.bedework.calfacade.configs.BwCrawlerConfig">
514           <debug>true</debug>
515           <appType>sysevlog</appType>
516           <guestMode>true</guestMode>
517           <debugEntity>false</debugEntity>
518         </sysevlog>
519
520         <!-- ==================================================================
521                           In/outbox scheduler program
522              ================================================================== -->
523         <iosched classname="org.bedework.calfacade.configs.BwCrawlerConfig">
524           <debug>true</debug>
525           <appType>inoutsched</appType>
526           <guestMode>true</guestMode>
527           <debugEntity>false</debugEntity>
528         </iosched>
529       </app>
530     </bedework>
531   </org>
532 </bedework-options>
533
Note: See TracBrowser for help on using the browser.