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

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

New key generator service available from jmx console

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         <publicCardDAVHost>localhost</publicCardDAVHost>
33         <publicCardDAVPort>8080</publicCardDAVPort>
34         <publicCardDAVContext>/pubcarddav</publicCardDAVContext>
35        
36         <personalCardDAVHost>localhost</personalCardDAVHost>
37         <personalCardDAVPort>8080</personalCardDAVPort>
38         <personalCardDAVContext>/ucarddav</personalCardDAVContext>
39
40         <!-- Timezone server locations -->
41         <timezonesUri>http://localhost:8080/tzsvr</timezonesUri>
42
43         <systemRoots classname="org.bedework.calfacade.configs.SystemRoots" >
44           <principalRoot>/principals</principalRoot>
45           <userPrincipalRoot>/principals/users</userPrincipalRoot>
46           <groupPrincipalRoot>/principals/groups</groupPrincipalRoot>
47           <bwadmingroupPrincipalRoot>/principals/groups/bwadmin</bwadmingroupPrincipalRoot>
48           <resourcePrincipalRoot>/principals/resources</resourcePrincipalRoot>
49           <venuePrincipalRoot>/principals/locations</venuePrincipalRoot>
50           <ticketPrincipalRoot>/principals/tickets</ticketPrincipalRoot>
51           <hostPrincipalRoot>/principals/hosts</hostPrincipalRoot>
52         </systemRoots>
53
54         <!-- To enable mapping of calendar addresses e.g. mailto:fred@example.org
55              on to principals we need to either do a directory lookup or have
56              some sort of pattern map.
57              
58              Setting a caladdr prefix enables pattern mapping. By default
59              calendar addresses are users -->
60              
61           <!--
62         <caladdrPrefixes classname="org.bedework.calfacade.configs.CalAddrPrefixes">
63           <location>loc_</location>
64         </caladdrPrefixes>     
65            -->
66        
67         <module>
68           <!-- A dummy module with no directory. -->
69           <dir-config classname="org.bedework.calfacade.configs.DirConfigProperties">
70             <!-- List domains at your site separated by commas.
71                     A single leading wildcard "*" is allowed.
72                     If there is a single domain with no wildcard it wil be stripped from
73                     user accounts as they are entered and added as they are turned
74                     back into CUAs.
75                     Wildcarded or multiple domains will cause retention of the domain
76                     (partially untested feature) -->
77             <domains>mysite.edu</domains>
78
79             <!-- defaultDomain can be left unspecified for no default or a single
80                    exactly specified domain  -->
81             <defaultDomain>mysite.edu</defaultDomain>
82
83             <debug>true</debug>
84           </dir-config>
85
86           <!-- An example of how we might configure an ldap directory module. -->
87           <user-ldap-group classname="org.bedework.calfacade.configs.LdapConfigProperties">
88             <domains>mysite.edu</domains>
89             <defaultDomain>mysite.edu</defaultDomain>
90
91             <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory>
92             <providerUrl>ldap://localhost:10389</providerUrl>
93             <groupContextDn>ou=groups, dc=bedework, dc=org</groupContextDn>
94             <groupMemberAttr>member</groupMemberAttr>
95             <userDnPrefix>uid=</userDnPrefix>
96             <userDnSuffix>,ou=accounts, dc=bedework, dc=org</userDnSuffix>
97             <groupDnPrefix>cn=</groupDnPrefix>
98             <groupDnSuffix>,ou=groups,dc=bedework, dc=org</groupDnSuffix>
99             <debug>true</debug>
100
101             <securityAuthentication>simple</securityAuthentication>
102             <securityProtocol>NONE</securityProtocol>
103             <authDn>uid=admin,ou=system</authDn>
104             <authPw>secret</authPw>
105           </user-ldap-group>
106
107           <testmail classname="org.bedework.mail.MailConfigProperties">
108             <protocol>smtp</protocol>
109             <protocolClass>com.sun.mail.smtp.SMTPTransport</protocolClass>
110             <serverIp>localhost</serverIp>
111             <from>calendar.myplace.edu</from>
112             <subject>Message from demo calendar server</subject>
113             <disabled>false</disabled>
114           </testmail>
115
116           <dummymail classname="org.bedework.mail.MailConfigProperties">
117             <disabled>false</disabled>
118           </dummymail>
119
120           <default-pwencrypt classname="org.bedework.calfacade.security.DefaultPwEncryptionConfig">
121             <privKeys>@DATA_DIR@/data/bedework/privkeys</privKeys>
122             <pubKeys>@DATA_DIR@/data/bedework/pubkeys</pubKeys>
123
124             <debug>true</debug>
125             <verbose>true</verbose>
126           </default-pwencrypt>
127         </module>
128       </global>
129
130       <syspars classname="org.bedework.calfacade.BwSystem">
131         <!-- name must match the global system name -->
132         <name>bedework</name>
133         <tzid>America/New_York</tzid>
134         <systemid>demobedework@mysite.edu</systemid>
135
136         <publicCalendarRoot>public</publicCalendarRoot>
137         <userCalendarRoot>user</userCalendarRoot>
138         <userDefaultCalendar>calendar</userDefaultCalendar>
139         <defaultTrashCalendar>Trash</defaultTrashCalendar>
140         <userInbox>Inbox</userInbox>
141         <userOutbox>Outbox</userOutbox>
142         <deletedCalendar>Deleted</deletedCalendar>
143         <busyCalendar>Busy</busyCalendar>
144
145         <defaultUserViewName>All</defaultUserViewName>
146         <defaultUserHour24>true</defaultUserHour24>
147
148         <publicUser>public-user</publicUser>
149
150         <httpConnectionsPerUser>10</httpConnectionsPerUser>
151         <httpConnectionsPerHost>50</httpConnectionsPerHost>
152         <httpConnections>200</httpConnections>
153
154         <!-- size limits -->
155         <maxPublicDescriptionLength>500</maxPublicDescriptionLength>
156         <maxUserDescriptionLength>5000</maxUserDescriptionLength>
157         <maxUserEntitySize>100000</maxUserEntitySize>
158         <defaultUserQuota>10000000</defaultUserQuota> <!-- 10 Meg OK? -->
159
160         <!-- Max number of instances per recurring event -->
161         <maxInstances>1000</maxInstances>
162
163         <!-- Max number of years per recurring event -->
164         <maxYears>50</maxYears>
165
166         <userauthClass>org.bedework.calsvc.directory.UserAuthUWDbImpl</userauthClass>
167         <mailerClass>org.bedework.mail.DummyMailer</mailerClass>
168         <admingroupsClass>org.bedework.calsvc.directory.AdminGroupsDbImpl</admingroupsClass>
169         <usergroupsClass>org.bedework.calsvc.directory.UserGroupsLdapImpl</usergroupsClass>
170         <!--
171         <usergroupsClass>org.bedework.calsvc.directory.GroupsDbImpl</usergroupsClass>
172         -->
173
174         <directoryBrowsingDisallowed>true</directoryBrowsingDisallowed>
175
176         <indexRoot>lucene/indexroot</indexRoot>
177
178         <rootUsers>admin</rootUsers>
179       </syspars>
180
181       <app>
182         <!-- ==================================================================
183                           Timezones server
184              ================================================================== -->
185         <tzsvr classname="org.bedework.calfacade.configs.ConfigCommon">
186           <appType>tzsvr</appType>
187           <publicAdmin>false</publicAdmin>
188           <guestMode>true</guestMode>
189         </tzsvr>
190
191         <!-- ==================================================================
192                           Config web client
193              ================================================================== -->
194         <bwconfig classname="org.bedework.calfacade.configs.ConfigCommon">
195           <appType>webconfig</appType>
196           <publicAdmin>false</publicAdmin>
197           <guestMode>false</guestMode>
198         </bwconfig>
199
200         <!-- ==================================================================
201                           Admin web client CalAdmin
202              ================================================================== -->
203         <CalAdmin classname="org.bedework.calfacade.configs.AdminConfig">
204           <autoCreateContacts>false</autoCreateContacts>
205           <autoDeleteContacts>false</autoDeleteContacts>
206           <autoCreateLocations>false</autoCreateLocations>
207           <autoDeleteLocations>false</autoDeleteLocations>
208
209           <!-- if these are false only superuser can maintain public
210                categories, locations and contacts -->
211           <allowEditAllCategories>true</allowEditAllCategories>
212           <allowEditAllLocations>true</allowEditAllLocations>
213           <allowEditAllContacts>true</allowEditAllContacts>
214
215           <categoryOptional>true</categoryOptional>
216
217           <noGroupAllowed>false</noGroupAllowed>
218
219           <appType>webadmin</appType>
220           <publicAdmin>true</publicAdmin>
221           <guestMode>false</guestMode>
222
223           <!-- This will become a system configuration in time -->
224           <submissionRoot>/public/unbrowsable/submissions</submissionRoot>
225
226           <!-- Default value for 24 hour mode -->
227           <hour24>true</hour24>
228
229           <!-- Default value for minute increments -->
230           <minIncrement>5</minIncrement>
231
232           <logPrefix>PubEventsAdmin</logPrefix>
233          
234           <!-- Where the browser finds css and other resources -->   
235           <browserResourceRoot>http://localhost:8080/caladminrsrc</browserResourceRoot>
236          
237           <!-- Where the server finds xsl etc -->   
238           <appRoot>http://localhost:8080/caladminrsrc</appRoot>
239         </CalAdmin>
240
241         <!-- ==================================================================
242                           Public event submission web client EventSubmit
243              ================================================================== -->
244         <EventSubmit classname="org.bedework.calfacade.configs.ClientConfig">
245           <autoCreateContacts>false</autoCreateContacts>
246           <autoDeleteContacts>false</autoDeleteContacts>
247           <autoCreateLocations>false</autoCreateLocations>
248           <autoDeleteLocations>false</autoDeleteLocations>
249
250           <appType>websubmit</appType>
251           <publicAdmin>false</publicAdmin>
252           <guestMode>false</guestMode>
253
254           <!-- This will become a system configuration in time -->
255           <submissionRoot>/public/unbrowsable/submissions</submissionRoot>
256
257           <!-- Default value for 24 hour mode -->
258           <hour24>true</hour24>
259
260           <!-- Default value for minute increments -->
261           <minIncrement>5</minIncrement>
262
263           <showYearData>false</showYearData>
264
265           <logPrefix>EventSubmit</logPrefix>
266
267           <!-- Where the browser finds css and other resources -->   
268           <browserResourceRoot>http://localhost:8080/eventsubmitrsrc</browserResourceRoot>
269          
270           <!-- Where the server finds xsl etc -->   
271           <appRoot>http://localhost:8080/eventsubmitrsrc</appRoot>
272
273           <refreshAction>setup.do</refreshAction>
274           <refreshInterval>900</refreshInterval>
275         </EventSubmit>
276
277         <!-- ==================================================================
278                           Public web client Events
279              ================================================================== -->
280         <Events classname="org.bedework.calfacade.configs.ClientConfig">
281           <cachingOn>true</cachingOn>
282           <cachePrefix>bwpubevents</cachePrefix>
283
284           <autoCreateContacts>false</autoCreateContacts>
285           <autoDeleteContacts>false</autoDeleteContacts>
286           <autoCreateLocations>false</autoCreateLocations>
287           <autoDeleteLocations>false</autoDeleteLocations>
288
289           <appType>webpublic</appType>
290           <publicAdmin>false</publicAdmin>
291           <guestMode>true</guestMode>
292
293           <!-- Default value for 24 hour mode -->
294           <hour24>true</hour24>
295
296           <!-- Default value for minute increments -->
297           <minIncrement>5</minIncrement>
298
299           <showYearData>false</showYearData>
300
301           <logPrefix>PubEvents</logPrefix>
302
303           <!-- Where the browser finds css and other resources -->   
304           <browserResourceRoot>http://localhost:8080/calrsrc</browserResourceRoot>
305          
306           <!-- Where the server finds xsl etc -->   
307           <appRoot>http://localhost:8080/calrsrc</appRoot>
308
309           <refreshAction>setup.do</refreshAction>
310           <refreshInterval>300</refreshInterval>
311
312           <calSuite>MainCampus</calSuite>
313         </Events>
314
315
316
317         <!-- ==================================================================
318                           Feed Service
319              ================================================================== -->
320         <Feeder classname="org.bedework.calfacade.configs.ClientConfig">
321           <cachingOn>true</cachingOn>
322           <cachePrefix>bwfeeder</cachePrefix>
323
324           <autoCreateContacts>false</autoCreateContacts>
325           <autoDeleteContacts>false</autoDeleteContacts>
326           <autoCreateLocations>false</autoCreateLocations>
327           <autoDeleteLocations>false</autoDeleteLocations>
328
329           <appType>feeder</appType>
330           <publicAdmin>false</publicAdmin>
331           <guestMode>true</guestMode>
332
333           <!-- Default value for 24 hour mode -->
334           <hour24>true</hour24>
335
336           <!-- Default value for minute increments -->
337           <minIncrement>5</minIncrement>
338
339           <showYearData>false</showYearData>
340
341           <logPrefix>Feeder</logPrefix>
342
343           <!-- Where the browser finds css and other resources -->   
344           <browserResourceRoot>http://localhost:8080/calfeedrsrc</browserResourceRoot>
345          
346           <!-- Where the server finds xsl etc -->   
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           <!-- Where the browser finds css and other resources -->   
382           <browserResourceRoot>http://localhost:8080/calrsrc</browserResourceRoot>
383          
384           <!-- Where the server finds xsl etc -->   
385           <appRoot>http://localhost:8080/calrsrc</appRoot>
386
387           <refreshAction>setup.do</refreshAction>
388           <refreshInterval>300</refreshInterval>
389
390           <calSuite>SoEDepartmental</calSuite>
391         </SoEDept>
392
393         <!-- ==================================================================
394                           User web client UserCal
395              ================================================================== -->
396         <UserCal classname="org.bedework.calfacade.configs.ClientConfig">
397           <autoCreateContacts>false</autoCreateContacts>
398           <autoDeleteContacts>false</autoDeleteContacts>
399           <autoCreateLocations>false</autoCreateLocations>
400           <autoDeleteLocations>false</autoDeleteLocations>
401
402           <appType>webuser</appType>
403           <publicAdmin>false</publicAdmin>
404           <guestMode>false</guestMode>
405
406           <!-- Default value for 24 hour mode -->
407           <hour24>true</hour24>
408
409           <!-- Default value for minute increments -->
410           <minIncrement>5</minIncrement>
411
412           <showYearData>false</showYearData>
413
414           <logPrefix>PersonalCalendar</logPrefix>
415
416           <!-- Where the browser finds css and other resources -->   
417           <browserResourceRoot>http://localhost:8080/ucalrsrc</browserResourceRoot>
418          
419           <!-- Where the server finds xsl etc -->   
420           <appRoot>http://localhost:8080/ucalrsrc</appRoot>
421
422           <refreshAction>setup.do</refreshAction>
423           <refreshInterval>300</refreshInterval>
424         </UserCal>
425
426         <!-- ==================================================================
427                           User CalDAV server UserCalDAV
428              ================================================================== -->
429         <Usercaldav classname="org.bedework.caldav.util.CalDAVConfig">
430           <appType>usercaldav</appType>
431           <!--
432           <publicAdmin>false</publicAdmin>
433           -->
434           <guestMode>false</guestMode>
435
436           <sysintfImpl>org.bedework.caldav.bwserver.BwSysIntfImpl</sysintfImpl>
437
438           <!-- Comment out or delete for no ischedule service
439                Currently under development and may present a security risk in
440                production systems
441
442                Note that the uri "/ischedule" is defined in the draft and should
443                not be changed to some other value. -->
444           <ischeduleURI>/ischedule</ischeduleURI>
445
446           <!-- Comment out or delete for no freebusy url service -->
447           <fburlServiceURI>/fbsvc</fburlServiceURI>
448
449           <!-- Comment out or delete for no web calendar service -->
450           <webcalServiceURI>/webcal</webcalServiceURI>
451         </Usercaldav>
452
453         <!-- ==================================================================
454                           Public (unauthenticated) CalDAV server PublicCalDAV
455              ================================================================== -->
456         <Pubcaldav classname="org.bedework.caldav.util.CalDAVConfig">
457           <appType>publiccaldav</appType>
458           <!--
459           <publicAdmin>false</publicAdmin>
460            -->
461           <guestMode>true</guestMode>
462
463           <sysintfImpl>org.bedework.caldav.bwserver.BwSysIntfImpl</sysintfImpl>
464
465           <!-- Comment out or delete for no ischedule service
466                Currently under development and may present a security risk in
467                production systems
468
469                Note that the uri "/ischedule" is defined in the draft and should
470                not be changed to some other value. -->
471           <ischeduleURI>/ischedule</ischeduleURI>
472
473           <!-- Comment out or delete for no freebusy url service -->
474           <fburlServiceURI>/fbsvc</fburlServiceURI>
475
476           <!-- Comment out or delete for no web calendar service -->
477           <webcalServiceURI>/webcal</webcalServiceURI>
478         </Pubcaldav>
479
480         <!-- ==================================================================
481                           User CalWS server Usercalws
482              ================================================================== -->
483         <Usercalws classname="org.bedework.caldav.util.CalDAVConfig">
484           <appType>usercalws</appType>
485           <!--
486           <publicAdmin>false</publicAdmin>
487           -->
488           <guestMode>false</guestMode>
489
490           <sysintfImpl>org.bedework.caldav.bwserver.BwSysIntfImpl</sysintfImpl>
491         </Usercalws>
492
493         <!-- ==================================================================
494                           Public (unauthenticated) CalWS server Pubcalws
495              ================================================================== -->
496         <Pubcalws classname="org.bedework.caldav.util.CalDAVConfig">
497           <appType>publiccalws</appType>
498           <!--
499           <publicAdmin>false</publicAdmin>
500            -->
501           <guestMode>true</guestMode>
502
503           <sysintfImpl>org.bedework.caldav.bwserver.BwSysIntfImpl</sysintfImpl>
504         </Pubcalws>
505
506         <!-- ==================================================================
507                           CalDAV test suite
508              ================================================================== -->
509         <caldavTest classname="org.bedework.calfacade.configs.ConfigCommon">
510           <appType>caldavTest</appType>
511           <publicAdmin>false</publicAdmin>
512           <guestMode>false</guestMode>
513         </caldavTest>
514
515         <!-- ==================================================================
516                           bedework test suite
517              ================================================================== -->
518         <test classname="org.bedework.calfacade.configs.ConfigCommon">
519           <appType>testsuite</appType>
520           <publicAdmin>false</publicAdmin>
521           <guestMode>false</guestMode>
522         </test>
523
524         <!-- ==================================================================
525                           Dump restore program dumpres
526              ================================================================== -->
527         <dumpres classname="org.bedework.calfacade.configs.DumpRestoreConfig">
528           <debug>true</debug>
529           <appType>dumprestore</appType>
530           <guestMode>true</guestMode>
531           <debugEntity>false</debugEntity>
532           <superGroupName>campusAdminGroups</superGroupName>
533           <defaultPublicCalPath>/public/Other Events/Other</defaultPublicCalPath>
534         </dumpres>
535
536         <!-- ==================================================================
537                           Crawler program
538              ================================================================== -->
539         <indexer classname="org.bedework.calfacade.configs.BwCrawlerConfig">
540           <debug>true</debug>
541           <appType>indexer</appType>
542           <guestMode>true</guestMode>
543           <debugEntity>false</debugEntity>
544         </indexer>
545
546         <!-- ==================================================================
547                           System events logger program
548              ================================================================== -->
549         <sysevlog classname="org.bedework.calfacade.configs.BwCrawlerConfig">
550           <debug>true</debug>
551           <appType>sysevlog</appType>
552           <guestMode>true</guestMode>
553           <debugEntity>false</debugEntity>
554         </sysevlog>
555
556         <!-- ==================================================================
557                           System events monitor program
558              ================================================================== -->
559         <monitor classname="org.bedework.calfacade.configs.BwCrawlerConfig">
560           <debug>true</debug>
561           <appType>monitor</appType>
562           <guestMode>true</guestMode>
563           <debugEntity>false</debugEntity>
564         </monitor>
565
566         <!-- ==================================================================
567                           System key generator
568              ================================================================== -->
569         <genkeys classname="org.bedework.calfacade.configs.BwCrawlerConfig">
570           <debug>true</debug>
571           <appType>genkeys</appType>
572           <guestMode>true</guestMode>
573           <debugEntity>false</debugEntity>
574         </genkeys>
575
576         <!-- ==================================================================
577                           In/outbox scheduler program
578              ================================================================== -->
579         <iosched classname="org.bedework.calfacade.configs.BwCrawlerConfig">
580           <debug>true</debug>
581           <appType>inoutsched</appType>
582           <guestMode>true</guestMode>
583           <debugEntity>false</debugEntity>
584         </iosched>
585       </app>
586     </bedework>
587   </org>
588 </bedework-options>
589
Note: See TracBrowser for help on using the browser.