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

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

Try to fix up problems with lib

  • 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.5</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         <module>
39           <!-- A dummy module with no directory. -->
40           <dir-config classname="org.bedework.calfacade.configs.DirConfigProperties">
41             <principalRoot>/principals</principalRoot>
42             <userPrincipalRoot>/principals/users</userPrincipalRoot>
43             <groupPrincipalRoot>/principals/groups</groupPrincipalRoot>
44             <resourcePrincipalRoot>/principals/resources</resourcePrincipalRoot>
45             <venuePrincipalRoot>/principals/locations</venuePrincipalRoot>
46             <ticketPrincipalRoot>/principals/tickets</ticketPrincipalRoot>
47             <hostPrincipalRoot>/principals/hosts</hostPrincipalRoot>
48
49             <!-- List domains at your site separated by commas.
50                     A single leading wildcard "*" is allowed.
51                     If there is a single domain with no wildcard it wil be stripped from
52                     user accounts as they are entered and added as they are turned
53                     back into CUAs.
54                     Wildcarded or multiple domains will cause retention of the domain
55                     (partially untested feature) -->
56             <domains>mysite.edu</domains>
57
58             <!-- defaultDomain can be left unspecified for no default or a single
59                    exactly specified domain  -->
60             <defaultDomain>mysite.edu</defaultDomain>
61
62             <debug>true</debug>
63           </dir-config>
64
65           <!-- An example of how we might configure an ldap directory module. -->
66           <user-ldap-group classname="org.bedework.calfacade.configs.LdapConfigProperties">
67             <principalRoot>/principals</principalRoot>
68             <userPrincipalRoot>/principals/users</userPrincipalRoot>
69             <groupPrincipalRoot>/principals/groups</groupPrincipalRoot>
70             <resourcePrincipalRoot>/principals/resources</resourcePrincipalRoot>
71             <venuePrincipalRoot>/principals/locations</venuePrincipalRoot>
72             <ticketPrincipalRoot>/principals/tickets</ticketPrincipalRoot>
73             <hostPrincipalRoot>/principals/hosts</hostPrincipalRoot>
74
75             <domains>mysite.edu</domains>
76             <defaultDomain>mysite.edu</defaultDomain>
77
78             <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory>
79             <providerUrl>ldap://localhost/</providerUrl>
80             <groupContextDn>ou=groups, dc=bedework, dc=org</groupContextDn>
81             <groupMemberAttr>uniqueMember</groupMemberAttr>
82             <userDnPrefix>uid=</userDnPrefix>
83             <userDnSuffix>,ou=accounts, dc=bedework, dc=org</userDnSuffix>
84             <groupDnPrefix>cn=</groupDnPrefix>
85             <groupDnSuffix>,ou=groups, dc=bedework, dc=org</groupDnSuffix>
86             <debug>true</debug>
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         <!--
152         <usergroupsClass>org.bedework.calsvc.directory.UserGroupsLdapImpl</usergroupsClass>
153         -->
154         <usergroupsClass>org.bedework.calsvc.directory.GroupsDbImpl</usergroupsClass>
155
156         <directoryBrowsingDisallowed>true</directoryBrowsingDisallowed>
157
158         <indexRoot>lucene/indexroot</indexRoot>
159       </syspars>
160
161       <app>
162         <!-- ==================================================================
163                           Timezones server
164              ================================================================== -->
165         <tzsvr classname="org.bedework.calfacade.configs.ConfigCommon">
166           <appType>tzsvr</appType>
167           <publicAdmin>false</publicAdmin>
168           <guestMode>true</guestMode>
169         </tzsvr>
170
171         <!-- ==================================================================
172                           Config web client
173              ================================================================== -->
174         <bwconfig classname="org.bedework.calfacade.configs.ConfigCommon">
175           <appType>webconfig</appType>
176           <publicAdmin>false</publicAdmin>
177           <guestMode>false</guestMode>
178         </bwconfig>
179
180         <!-- ==================================================================
181                           Admin web client CalAdmin
182              ================================================================== -->
183         <CalAdmin classname="org.bedework.calfacade.configs.AdminConfig">
184           <autoCreateContacts>false</autoCreateContacts>
185           <autoDeleteContacts>false</autoDeleteContacts>
186           <autoCreateLocations>false</autoCreateLocations>
187           <autoDeleteLocations>false</autoDeleteLocations>
188           <allowEditAllCategories>false</allowEditAllCategories>
189           <allowEditAllLocations>false</allowEditAllLocations>
190           <allowEditAllContacts>false</allowEditAllContacts>
191           <categoryOptional>true</categoryOptional>
192
193           <noGroupAllowed>false</noGroupAllowed>
194
195           <appType>webadmin</appType>
196           <publicAdmin>true</publicAdmin>
197           <guestMode>false</guestMode>
198
199           <!-- This will become a system configuration in time -->
200           <submissionRoot>/public/unbrowsable/submissions</submissionRoot>
201
202           <!-- Default value for 24 hour mode -->
203           <hour24>true</hour24>
204
205           <!-- Default value for minute increments -->
206           <minIncrement>5</minIncrement>
207
208           <logPrefix>PubEventsAdmin</logPrefix>
209
210           <appRoot>http://localhost:8080/caladminrsrc</appRoot>
211         </CalAdmin>
212
213         <!-- ==================================================================
214                           Public event submission web client EventSubmit
215              ================================================================== -->
216         <EventSubmit classname="org.bedework.calfacade.configs.ClientConfig">
217           <autoCreateContacts>false</autoCreateContacts>
218           <autoDeleteContacts>false</autoDeleteContacts>
219           <autoCreateLocations>false</autoCreateLocations>
220           <autoDeleteLocations>false</autoDeleteLocations>
221
222           <appType>websubmit</appType>
223           <publicAdmin>false</publicAdmin>
224           <guestMode>false</guestMode>
225
226           <!-- This will become a system configuration in time -->
227           <submissionRoot>/public/unbrowsable/submissions</submissionRoot>
228
229           <!-- Default value for 24 hour mode -->
230           <hour24>true</hour24>
231
232           <!-- Default value for minute increments -->
233           <minIncrement>5</minIncrement>
234
235           <showYearData>false</showYearData>
236
237           <logPrefix>EventSubmit</logPrefix>
238
239           <appRoot>http://localhost:8080/eventsubmitrsrc</appRoot>
240
241           <refreshAction>setup.do</refreshAction>
242           <refreshInterval>900</refreshInterval>
243         </EventSubmit>
244
245         <!-- ==================================================================
246                           Public web client Events
247              ================================================================== -->
248         <Events classname="org.bedework.calfacade.configs.ClientConfig">
249           <cachingOn>true</cachingOn>
250           <cachePrefix>bwpubevents</cachePrefix>
251
252           <autoCreateContacts>false</autoCreateContacts>
253           <autoDeleteContacts>false</autoDeleteContacts>
254           <autoCreateLocations>false</autoCreateLocations>
255           <autoDeleteLocations>false</autoDeleteLocations>
256
257           <appType>webpublic</appType>
258           <publicAdmin>false</publicAdmin>
259           <guestMode>true</guestMode>
260           <runAsUser>public-user</runAsUser>
261
262           <!-- Default value for 24 hour mode -->
263           <hour24>true</hour24>
264
265           <!-- Default value for minute increments -->
266           <minIncrement>5</minIncrement>
267
268           <showYearData>false</showYearData>
269
270           <logPrefix>PubEvents</logPrefix>
271
272           <appRoot>http://localhost:8080/calrsrc</appRoot>
273
274           <refreshAction>setup.do</refreshAction>
275           <refreshInterval>300</refreshInterval>
276
277           <calSuite>MainCampus</calSuite>
278         </Events>
279
280         <!-- ==================================================================
281                           Demo departmental Public web client SoEDept
282              ================================================================== -->
283         <SoEDept classname="org.bedework.calfacade.configs.ClientConfig">
284           <cachingOn>true</cachingOn>
285           <cachePrefix>bwpubevents</cachePrefix>
286
287           <autoCreateContacts>false</autoCreateContacts>
288           <autoDeleteContacts>false</autoDeleteContacts>
289           <autoCreateLocations>false</autoCreateLocations>
290           <autoDeleteLocations>false</autoDeleteLocations>
291
292           <appType>webpublic</appType>
293           <publicAdmin>false</publicAdmin>
294           <guestMode>true</guestMode>
295           <runAsUser>public-user</runAsUser>
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>SoEDept</logPrefix>
306
307           <appRoot>http://localhost:8080/calrsrc</appRoot>
308
309           <refreshAction>setup.do</refreshAction>
310           <refreshInterval>300</refreshInterval>
311
312           <calSuite>SoEDepartmental</calSuite>
313         </SoEDept>
314
315         <!-- ==================================================================
316                           User web client UserCal
317              ================================================================== -->
318         <UserCal classname="org.bedework.calfacade.configs.ClientConfig">
319           <autoCreateContacts>false</autoCreateContacts>
320           <autoDeleteContacts>false</autoDeleteContacts>
321           <autoCreateLocations>false</autoCreateLocations>
322           <autoDeleteLocations>false</autoDeleteLocations>
323
324           <appType>webuser</appType>
325           <publicAdmin>false</publicAdmin>
326           <guestMode>false</guestMode>
327
328           <!-- Default value for 24 hour mode -->
329           <hour24>true</hour24>
330
331           <!-- Default value for minute increments -->
332           <minIncrement>5</minIncrement>
333
334           <showYearData>false</showYearData>
335
336           <logPrefix>PersonalCalendar</logPrefix>
337
338           <appRoot>http://localhost:8080/ucalrsrc</appRoot>
339
340           <refreshAction>setup.do</refreshAction>
341           <refreshInterval>300</refreshInterval>
342         </UserCal>
343
344         <!-- ==================================================================
345                           User CalDAV server UserCalDAV
346              ================================================================== -->
347         <Usercaldav classname="org.bedework.calfacade.configs.CalDAVConfig">
348           <appType>usercaldav</appType>
349           <publicAdmin>false</publicAdmin>
350           <guestMode>false</guestMode>
351
352           <sysintfImpl>org.bedework.caldav.bwserver.BwSysIntfImpl</sysintfImpl>
353
354           <!-- Comment out or delete for no real time server to server service
355                Currently under development and may present a security risk in
356                production systems -->
357           <realTimeServiceURI>/rtsvc</realTimeServiceURI>
358
359           <!-- Comment out or delete for no freebusy url service -->
360           <fburlServiceURI>/fbsvc</fburlServiceURI>
361
362           <!-- Comment out or delete for no web calendar service -->
363           <webcalServiceURI>/webcal</webcalServiceURI>
364         </Usercaldav>
365
366         <!-- ==================================================================
367                           Public (unauthenticated) CalDAV server PublicCalDAV
368              ================================================================== -->
369         <Pubcaldav classname="org.bedework.calfacade.configs.CalDAVConfig">
370           <appType>publiccaldav</appType>
371           <publicAdmin>false</publicAdmin>
372           <guestMode>true</guestMode>
373           <runAsUser>public-user</runAsUser>
374
375           <sysintfImpl>org.bedework.caldav.bwserver.BwSysIntfImpl</sysintfImpl>
376
377           <!-- Comment out or delete for no real time server to server service
378                Currently under development and may present a security risk in
379                production systems -->
380           <realTimeServiceURI>/rtsvc</realTimeServiceURI>
381
382           <!-- Comment out or delete for no freebusy url service -->
383           <fburlServiceURI>/fbsvc</fburlServiceURI>
384
385           <!-- Comment out or delete for no web calendar service -->
386           <webcalServiceURI>/webcal</webcalServiceURI>
387         </Pubcaldav>
388
389         <!-- ==================================================================
390                           CalDAV test suite
391              ================================================================== -->
392         <caldavTest classname="org.bedework.calfacade.configs.ConfigCommon">
393           <appType>caldavTest</appType>
394           <publicAdmin>false</publicAdmin>
395           <guestMode>false</guestMode>
396         </caldavTest>
397
398         <!-- ==================================================================
399                           bedework test suite
400              ================================================================== -->
401         <test classname="org.bedework.calfacade.configs.ConfigCommon">
402           <appType>testsuite</appType>
403           <publicAdmin>false</publicAdmin>
404           <guestMode>false</guestMode>
405         </test>
406
407         <!-- ==================================================================
408                           Dump restore program dumpres
409              ================================================================== -->
410         <dumpres classname="org.bedework.calfacade.configs.DumpRestoreConfig">
411           <debug>true</debug>
412           <appType>dumprestore</appType>
413           <guestMode>true</guestMode>
414           <debugEntity>false</debugEntity>
415           <superGroupName>campusAdminGroups</superGroupName>
416           <defaultPublicCalPath>/public/Other Events/Other</defaultPublicCalPath>
417         </dumpres>
418       </app>
419     </bedework>
420   </org>
421 </bedework-options>
422
Note: See TracBrowser for help on using the browser.