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

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

Take a look at running under geronimo - discovered block to progress

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           <!-- Where the browser finds css and other resources -->   
217           <browserResourceRoot>http://localhost:8080/caladminrsrc</browserResourceRoot>
218          
219           <!-- Where the server finds xsl etc -->   
220           <appRoot>http://localhost:8080/caladminrsrc</appRoot>
221         </CalAdmin>
222
223         <!-- ==================================================================
224                           Public event submission web client EventSubmit
225              ================================================================== -->
226         <EventSubmit classname="org.bedework.calfacade.configs.ClientConfig">
227           <autoCreateContacts>false</autoCreateContacts>
228           <autoDeleteContacts>false</autoDeleteContacts>
229           <autoCreateLocations>false</autoCreateLocations>
230           <autoDeleteLocations>false</autoDeleteLocations>
231
232           <appType>websubmit</appType>
233           <publicAdmin>false</publicAdmin>
234           <guestMode>false</guestMode>
235
236           <!-- This will become a system configuration in time -->
237           <submissionRoot>/public/unbrowsable/submissions</submissionRoot>
238
239           <!-- Default value for 24 hour mode -->
240           <hour24>true</hour24>
241
242           <!-- Default value for minute increments -->
243           <minIncrement>5</minIncrement>
244
245           <showYearData>false</showYearData>
246
247           <logPrefix>EventSubmit</logPrefix>
248
249           <!-- Where the browser finds css and other resources -->   
250           <browserResourceRoot>http://localhost:8080/eventsubmitrsrc</browserResourceRoot>
251          
252           <!-- Where the server finds xsl etc -->   
253           <appRoot>http://localhost:8080/eventsubmitrsrc</appRoot>
254
255           <refreshAction>setup.do</refreshAction>
256           <refreshInterval>900</refreshInterval>
257         </EventSubmit>
258
259         <!-- ==================================================================
260                           Public web client Events
261              ================================================================== -->
262         <Events classname="org.bedework.calfacade.configs.ClientConfig">
263           <cachingOn>true</cachingOn>
264           <cachePrefix>bwpubevents</cachePrefix>
265
266           <autoCreateContacts>false</autoCreateContacts>
267           <autoDeleteContacts>false</autoDeleteContacts>
268           <autoCreateLocations>false</autoCreateLocations>
269           <autoDeleteLocations>false</autoDeleteLocations>
270
271           <appType>webpublic</appType>
272           <publicAdmin>false</publicAdmin>
273           <guestMode>true</guestMode>
274
275           <!-- Default value for 24 hour mode -->
276           <hour24>true</hour24>
277
278           <!-- Default value for minute increments -->
279           <minIncrement>5</minIncrement>
280
281           <showYearData>false</showYearData>
282
283           <logPrefix>PubEvents</logPrefix>
284
285           <!-- Where the browser finds css and other resources -->   
286           <browserResourceRoot>http://localhost:8080/calrsrc</browserResourceRoot>
287          
288           <!-- Where the server finds xsl etc -->   
289           <appRoot>http://localhost:8080/calrsrc</appRoot>
290
291           <refreshAction>setup.do</refreshAction>
292           <refreshInterval>300</refreshInterval>
293
294           <calSuite>MainCampus</calSuite>
295         </Events>
296
297
298
299         <!-- ==================================================================
300                           Feed Service
301              ================================================================== -->
302         <Feeder classname="org.bedework.calfacade.configs.ClientConfig">
303           <cachingOn>true</cachingOn>
304           <cachePrefix>bwfeeder</cachePrefix>
305
306           <autoCreateContacts>false</autoCreateContacts>
307           <autoDeleteContacts>false</autoDeleteContacts>
308           <autoCreateLocations>false</autoCreateLocations>
309           <autoDeleteLocations>false</autoDeleteLocations>
310
311           <appType>feeder</appType>
312           <publicAdmin>false</publicAdmin>
313           <guestMode>true</guestMode>
314
315           <!-- Default value for 24 hour mode -->
316           <hour24>true</hour24>
317
318           <!-- Default value for minute increments -->
319           <minIncrement>5</minIncrement>
320
321           <showYearData>false</showYearData>
322
323           <logPrefix>Feeder</logPrefix>
324
325           <!-- Where the browser finds css and other resources -->   
326           <browserResourceRoot>http://localhost:8080/calfeedrsrc</browserResourceRoot>
327          
328           <!-- Where the server finds xsl etc -->   
329           <appRoot>http://localhost:8080/calfeedrsrc</appRoot>
330
331           <refreshAction>setup.do</refreshAction>
332           <refreshInterval>300</refreshInterval>
333
334           <calSuite>MainCampus</calSuite>
335         </Feeder>
336
337         <!-- ==================================================================
338                           Demo departmental Public web client SoEDept
339              ================================================================== -->
340         <SoEDept classname="org.bedework.calfacade.configs.ClientConfig">
341           <cachingOn>true</cachingOn>
342           <cachePrefix>bwpubevents</cachePrefix>
343
344           <autoCreateContacts>false</autoCreateContacts>
345           <autoDeleteContacts>false</autoDeleteContacts>
346           <autoCreateLocations>false</autoCreateLocations>
347           <autoDeleteLocations>false</autoDeleteLocations>
348
349           <appType>webpublic</appType>
350           <publicAdmin>false</publicAdmin>
351           <guestMode>true</guestMode>
352
353           <!-- Default value for 24 hour mode -->
354           <hour24>true</hour24>
355
356           <!-- Default value for minute increments -->
357           <minIncrement>5</minIncrement>
358
359           <showYearData>false</showYearData>
360
361           <logPrefix>SoEDept</logPrefix>
362
363           <!-- Where the browser finds css and other resources -->   
364           <browserResourceRoot>http://localhost:8080/calrsrc</browserResourceRoot>
365          
366           <!-- Where the server finds xsl etc -->   
367           <appRoot>http://localhost:8080/calrsrc</appRoot>
368
369           <refreshAction>setup.do</refreshAction>
370           <refreshInterval>300</refreshInterval>
371
372           <calSuite>SoEDepartmental</calSuite>
373         </SoEDept>
374
375         <!-- ==================================================================
376                           User web client UserCal
377              ================================================================== -->
378         <UserCal classname="org.bedework.calfacade.configs.ClientConfig">
379           <autoCreateContacts>false</autoCreateContacts>
380           <autoDeleteContacts>false</autoDeleteContacts>
381           <autoCreateLocations>false</autoCreateLocations>
382           <autoDeleteLocations>false</autoDeleteLocations>
383
384           <appType>webuser</appType>
385           <publicAdmin>false</publicAdmin>
386           <guestMode>false</guestMode>
387
388           <!-- Default value for 24 hour mode -->
389           <hour24>true</hour24>
390
391           <!-- Default value for minute increments -->
392           <minIncrement>5</minIncrement>
393
394           <showYearData>false</showYearData>
395
396           <logPrefix>PersonalCalendar</logPrefix>
397
398           <!-- Where the browser finds css and other resources -->   
399           <browserResourceRoot>http://localhost:8080/ucalrsrc</browserResourceRoot>
400          
401           <!-- Where the server finds xsl etc -->   
402           <appRoot>http://localhost:8080/ucalrsrc</appRoot>
403
404           <refreshAction>setup.do</refreshAction>
405           <refreshInterval>300</refreshInterval>
406         </UserCal>
407
408         <!-- ==================================================================
409                           User CalDAV server UserCalDAV
410              ================================================================== -->
411         <Usercaldav classname="org.bedework.caldav.util.CalDAVConfig">
412           <appType>usercaldav</appType>
413           <!--
414           <publicAdmin>false</publicAdmin>
415           -->
416           <guestMode>false</guestMode>
417
418           <sysintfImpl>org.bedework.caldav.bwserver.BwSysIntfImpl</sysintfImpl>
419
420           <!-- Comment out or delete for no ischedule service
421                Currently under development and may present a security risk in
422                production systems
423
424                Note that the uri "/ischedule" is defined in the draft and should
425                not be changed to some other value. -->
426           <ischeduleURI>/ischedule</ischeduleURI>
427
428           <!-- Comment out or delete for no freebusy url service -->
429           <fburlServiceURI>/fbsvc</fburlServiceURI>
430
431           <!-- Comment out or delete for no web calendar service -->
432           <webcalServiceURI>/webcal</webcalServiceURI>
433         </Usercaldav>
434
435         <!-- ==================================================================
436                           Public (unauthenticated) CalDAV server PublicCalDAV
437              ================================================================== -->
438         <Pubcaldav classname="org.bedework.caldav.util.CalDAVConfig">
439           <appType>publiccaldav</appType>
440           <!--
441           <publicAdmin>false</publicAdmin>
442            -->
443           <guestMode>true</guestMode>
444
445           <sysintfImpl>org.bedework.caldav.bwserver.BwSysIntfImpl</sysintfImpl>
446
447           <!-- Comment out or delete for no ischedule service
448                Currently under development and may present a security risk in
449                production systems
450
451                Note that the uri "/ischedule" is defined in the draft and should
452                not be changed to some other value. -->
453           <ischeduleURI>/ischedule</ischeduleURI>
454
455           <!-- Comment out or delete for no freebusy url service -->
456           <fburlServiceURI>/fbsvc</fburlServiceURI>
457
458           <!-- Comment out or delete for no web calendar service -->
459           <webcalServiceURI>/webcal</webcalServiceURI>
460         </Pubcaldav>
461
462         <!-- ==================================================================
463                           CalDAV test suite
464              ================================================================== -->
465         <caldavTest classname="org.bedework.calfacade.configs.ConfigCommon">
466           <appType>caldavTest</appType>
467           <publicAdmin>false</publicAdmin>
468           <guestMode>false</guestMode>
469         </caldavTest>
470
471         <!-- ==================================================================
472                           bedework test suite
473              ================================================================== -->
474         <test classname="org.bedework.calfacade.configs.ConfigCommon">
475           <appType>testsuite</appType>
476           <publicAdmin>false</publicAdmin>
477           <guestMode>false</guestMode>
478         </test>
479
480         <!-- ==================================================================
481                           Dump restore program dumpres
482              ================================================================== -->
483         <dumpres classname="org.bedework.calfacade.configs.DumpRestoreConfig">
484           <debug>true</debug>
485           <appType>dumprestore</appType>
486           <guestMode>true</guestMode>
487           <debugEntity>false</debugEntity>
488           <superGroupName>campusAdminGroups</superGroupName>
489           <defaultPublicCalPath>/public/Other Events/Other</defaultPublicCalPath>
490         </dumpres>
491
492         <!-- ==================================================================
493                           Crawler program
494              ================================================================== -->
495         <indexer classname="org.bedework.calfacade.configs.BwCrawlerConfig">
496           <debug>true</debug>
497           <appType>indexer</appType>
498           <guestMode>true</guestMode>
499           <debugEntity>false</debugEntity>
500         </indexer>
501
502         <!-- ==================================================================
503                           System events logger program
504              ================================================================== -->
505         <sysevlog classname="org.bedework.calfacade.configs.BwCrawlerConfig">
506           <debug>true</debug>
507           <appType>sysevlog</appType>
508           <guestMode>true</guestMode>
509           <debugEntity>false</debugEntity>
510         </sysevlog>
511
512         <!-- ==================================================================
513                           In/outbox scheduler program
514              ================================================================== -->
515         <iosched classname="org.bedework.calfacade.configs.BwCrawlerConfig">
516           <debug>true</debug>
517           <appType>inoutsched</appType>
518           <guestMode>true</guestMode>
519           <debugEntity>false</debugEntity>
520         </iosched>
521       </app>
522     </bedework>
523   </org>
524 </bedework-options>
525
Note: See TracBrowser for help on using the browser.