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

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

Move en/decryption classes into rpiutil.

Change configs to match

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