root/trunk/config/configs/democal.options.xml

Revision 1935 (checked in by douglm, 5 years ago)

Further changes to the build.

Delete (most of) the jar files from the lib directory - we are downloading them from bedework.org at build time.

Use a macro to load the deployment properties adn define some deployment proeprties based on the run time options.

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         <module>
19           <!-- A dummy module with no directory. -->
20           <dir-config classname="org.bedework.calfacade.configs.DirConfigProperties">
21             <principalRoot>/principals</principalRoot>
22             <userPrincipalRoot>/principals/users</userPrincipalRoot>
23             <groupPrincipalRoot>/principals/groups</groupPrincipalRoot>
24             <resourcePrincipalRoot>/principals/resources</resourcePrincipalRoot>
25             <venuePrincipalRoot>/principals/locations</venuePrincipalRoot>
26             <ticketPrincipalRoot>/principals/tickets</ticketPrincipalRoot>
27             <hostPrincipalRoot>/principals/hosts</hostPrincipalRoot>
28
29             <!-- List domains at your site separated by commas.
30                     A single leading wildcard "*" is allowed.
31                     If there is a single domain with no wildcard it wil be stripped from
32                     user accounts as they are entered and added as they are turned
33                     back into CUAs.
34                     Wildcarded or multiple domains will cause retention of the domain
35                     (partially untested feature) -->
36             <domains>mysite.edu</domains>
37
38             <!-- defaultDomain can be left unspecified for no default or a single
39                    exactly specified domain  -->
40             <defaultDomain>mysite.edu</defaultDomain>
41
42             <debug>true</debug>
43           </dir-config>
44
45           <!-- An example of how we might configure an ldap directory module. -->
46           <user-ldap-group classname="org.bedework.calfacade.configs.LdapConfigProperties">
47             <principalRoot>/principals</principalRoot>
48             <userPrincipalRoot>/principals/users</userPrincipalRoot>
49             <groupPrincipalRoot>/principals/groups</groupPrincipalRoot>
50             <resourcePrincipalRoot>/principals/resources</resourcePrincipalRoot>
51             <venuePrincipalRoot>/principals/locations</venuePrincipalRoot>
52             <ticketPrincipalRoot>/principals/tickets</ticketPrincipalRoot>
53             <hostPrincipalRoot>/principals/hosts</hostPrincipalRoot>
54
55             <domains>mysite.edu</domains>
56             <defaultDomain>mysite.edu</defaultDomain>
57
58             <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory>
59             <providerUrl>ldap://localhost/</providerUrl>
60             <groupContextDn>ou=groups, dc=bedework, dc=org</groupContextDn>
61             <groupMemberAttr>uniqueMember</groupMemberAttr>
62             <userDnPrefix>uid=</userDnPrefix>
63             <userDnSuffix>,ou=accounts, dc=bedework, dc=org</userDnSuffix>
64             <groupDnPrefix>cn=</groupDnPrefix>
65             <groupDnSuffix>,ou=groups, dc=bedework, dc=org</groupDnSuffix>
66             <debug>true</debug>
67           </user-ldap-group>
68
69           <testmail classname="org.bedework.mail.MailConfigProperties">
70             <protocol>smtp</protocol>
71             <protocolClass>com.sun.mail.smtp.SMTPTransport</protocolClass>
72             <serverIp>localhost</serverIp>
73             <from>calendar.myplace.edu</from>
74             <subject>Message from demo calendar server</subject>
75             <disabled>false</disabled>
76           </testmail>
77
78           <dummymail classname="org.bedework.mail.MailConfigProperties">
79             <disabled>false</disabled>
80           </dummymail>
81
82           <default-pwencrypt classname="org.bedework.calfacade.security.DefaultPwEncryptionConfig">
83             <privKeys>@QUICKSTART_DIR@/data/bedework/privkeys</privKeys>
84             <pubKeys>@QUICKSTART_DIR@/data/bedework/pubkeys</pubKeys>
85
86             <debug>true</debug>
87             <verbose>true</verbose>
88           </default-pwencrypt>
89         </module>
90       </global>
91
92       <syspars classname="org.bedework.calfacade.BwSystem">
93         <!-- name must match the global system name -->
94         <name>bedework</name>
95         <tzid>America/New_York</tzid>
96         <systemid>demobedework@mysite.edu</systemid>
97
98         <publicCalendarRoot>public</publicCalendarRoot>
99         <userCalendarRoot>user</userCalendarRoot>
100         <userDefaultCalendar>calendar</userDefaultCalendar>
101         <defaultTrashCalendar>Trash</defaultTrashCalendar>
102         <userInbox>Inbox</userInbox>
103         <userOutbox>Outbox</userOutbox>
104         <deletedCalendar>Deleted</deletedCalendar>
105         <busyCalendar>Busy</busyCalendar>
106
107         <defaultUserViewName>All</defaultUserViewName>
108         <defaultUserHour24>true</defaultUserHour24>
109
110         <publicUser>public-user</publicUser>
111
112         <httpConnectionsPerUser>10</httpConnectionsPerUser>
113         <httpConnectionsPerHost>50</httpConnectionsPerHost>
114         <httpConnections>200</httpConnections>
115
116         <!-- size limits -->
117         <maxPublicDescriptionLength>500</maxPublicDescriptionLength>
118         <maxUserDescriptionLength>5000</maxUserDescriptionLength>
119         <maxUserEntitySize>100000</maxUserEntitySize>
120         <defaultUserQuota>10000000</defaultUserQuota> <!-- 10 Meg OK? -->
121
122         <!-- Max number of instances per recurring event -->
123         <maxInstances>1000</maxInstances>
124
125         <!-- Max number of years per recurring event -->
126         <maxYears>50</maxYears>
127
128         <userauthClass>org.bedework.calsvc.directory.UserAuthUWDbImpl</userauthClass>
129         <mailerClass>org.bedework.mail.DummyMailer</mailerClass>
130         <admingroupsClass>org.bedework.calsvc.directory.AdminGroupsDbImpl</admingroupsClass>
131         <!--
132         <usergroupsClass>org.bedework.calsvc.directory.UserGroupsLdapImpl</usergroupsClass>
133         -->
134         <usergroupsClass>org.bedework.calsvc.directory.GroupsDbImpl</usergroupsClass>
135
136         <directoryBrowsingDisallowed>@DIRECTORY-BROWSING-DISALLOWED@</directoryBrowsingDisallowed>
137
138         <indexRoot>lucene/indexroot</indexRoot>
139       </syspars>
140
141       <app>
142         <!-- ==================================================================
143                           Admin web client CalAdmin
144              ================================================================== -->
145         <CalAdmin classname="org.bedework.calfacade.configs.AdminConfig">
146           <autoCreateContacts>false</autoCreateContacts>
147           <autoDeleteContacts>false</autoDeleteContacts>
148           <autoCreateLocations>false</autoCreateLocations>
149           <autoDeleteLocations>false</autoDeleteLocations>
150           <allowEditAllCategories>false</allowEditAllCategories>
151           <allowEditAllLocations>false</allowEditAllLocations>
152           <allowEditAllContacts>false</allowEditAllContacts>
153           <categoryOptional>true</categoryOptional>
154
155           <noGroupAllowed>false</noGroupAllowed>
156
157           <appType>webadmin</appType>
158           <publicAdmin>true</publicAdmin>
159           <guestMode>false</guestMode>
160
161           <!-- This will become a system configuration in time -->
162           <submissionRoot>/public/unbrowsable/submissions</submissionRoot>
163
164           <!-- Default value for 24 hour mode -->
165           <hour24>true</hour24>
166
167           <!-- Default value for minute increments -->
168           <minIncrement>5</minIncrement>
169
170           <logPrefix>PubEventsAdmin</logPrefix>
171
172           <appRoot>http://localhost:8080/caladminrsrc</appRoot>
173           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
174         </CalAdmin>
175
176         <!-- ==================================================================
177                           Public event submission web client EventSubmit
178              ================================================================== -->
179         <EventSubmit classname="org.bedework.calfacade.configs.ClientConfig">
180           <autoCreateContacts>false</autoCreateContacts>
181           <autoDeleteContacts>false</autoDeleteContacts>
182           <autoCreateLocations>false</autoCreateLocations>
183           <autoDeleteLocations>false</autoDeleteLocations>
184
185           <appType>websubmit</appType>
186           <publicAdmin>false</publicAdmin>
187           <guestMode>false</guestMode>
188
189           <!-- This will become a system configuration in time -->
190           <submissionRoot>/public/unbrowsable/submissions</submissionRoot>
191
192           <!-- Default value for 24 hour mode -->
193           <hour24>true</hour24>
194
195           <!-- Default value for minute increments -->
196           <minIncrement>5</minIncrement>
197
198           <showYearData>false</showYearData>
199
200           <logPrefix>EventSubmit</logPrefix>
201
202           <appRoot>http://localhost:8080/eventsubmitrsrc</appRoot>
203           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
204
205           <refreshAction>setup.do</refreshAction>
206           <refreshInterval>900</refreshInterval>
207         </EventSubmit>
208
209         <!-- ==================================================================
210                           Public web client Events
211              ================================================================== -->
212         <Events classname="org.bedework.calfacade.configs.ClientConfig">
213           <cachingOn>true</cachingOn>
214           <cachePrefix>bwpubevents</cachePrefix>
215
216           <autoCreateContacts>false</autoCreateContacts>
217           <autoDeleteContacts>false</autoDeleteContacts>
218           <autoCreateLocations>false</autoCreateLocations>
219           <autoDeleteLocations>false</autoDeleteLocations>
220
221           <appType>webpublic</appType>
222           <publicAdmin>false</publicAdmin>
223           <guestMode>true</guestMode>
224           <runAsUser>public-user</runAsUser>
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           <showYearData>false</showYearData>
233
234           <logPrefix>PubEvents</logPrefix>
235
236           <appRoot>http://localhost:8080/calrsrc</appRoot>
237           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
238
239           <refreshAction>setup.do</refreshAction>
240           <refreshInterval>300</refreshInterval>
241
242           <calSuite>MainCampus</calSuite>
243         </Events>
244
245         <!-- ==================================================================
246                           Demo departmental Public web client SoEDept
247              ================================================================== -->
248         <SoEDept 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>SoEDept</logPrefix>
271
272           <appRoot>/calrsrc</appRoot>
273           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
274
275           <refreshAction>setup.do</refreshAction>
276           <refreshInterval>300</refreshInterval>
277
278           <calSuite>SoEDepartmental</calSuite>
279         </SoEDept>
280
281         <!-- ==================================================================
282                           User web client UserCal
283              ================================================================== -->
284         <UserCal classname="org.bedework.calfacade.configs.ClientConfig">
285           <autoCreateContacts>false</autoCreateContacts>
286           <autoDeleteContacts>false</autoDeleteContacts>
287           <autoCreateLocations>false</autoCreateLocations>
288           <autoDeleteLocations>false</autoDeleteLocations>
289
290           <appType>webuser</appType>
291           <publicAdmin>false</publicAdmin>
292           <guestMode>false</guestMode>
293
294           <!-- Default value for 24 hour mode -->
295           <hour24>true</hour24>
296
297           <!-- Default value for minute increments -->
298           <minIncrement>5</minIncrement>
299
300           <showYearData>false</showYearData>
301
302           <logPrefix>PersonalCalendar</logPrefix>
303
304           <appRoot>/ucalrsrc</appRoot>
305           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
306
307           <refreshAction>setup.do</refreshAction>
308           <refreshInterval>300</refreshInterval>
309         </UserCal>
310
311         <!-- ==================================================================
312                           User CalDAV server UserCalDAV
313              ================================================================== -->
314         <Usercaldav classname="org.bedework.calfacade.configs.CalDAVConfig">
315           <publicAdmin>false</publicAdmin>
316           <guestMode>false</guestMode>
317
318           <sysintfImpl>org.bedework.caldav.bwserver.BwSysIntfImpl</sysintfImpl>
319
320           <!-- Comment out or delete for no real time server to server service
321                Currently under development and may present a security risk in
322                production systems -->
323           <realTimeServiceURI>/rtsvc</realTimeServiceURI>
324
325           <!-- Comment out or delete for no freebusy url service -->
326           <fburlServiceURI>/fbsvc</fburlServiceURI>
327
328           <!-- Comment out or delete for no web calendar service -->
329           <webcalServiceURI>/webcal</webcalServiceURI>
330         </Usercaldav>
331
332         <!-- ==================================================================
333                           Public (unauthenticated) CalDAV server PublicCalDAV
334              ================================================================== -->
335         <Pubcaldav classname="org.bedework.calfacade.configs.CalDAVConfig">
336           <publicAdmin>false</publicAdmin>
337           <guestMode>true</guestMode>
338           <runAsUser>public-user</runAsUser>
339
340           <sysintfImpl>org.bedework.caldav.bwserver.BwSysIntfImpl</sysintfImpl>
341
342           <!-- Comment out or delete for no real time server to server service
343                Currently under development and may present a security risk in
344                production systems -->
345           <realTimeServiceURI>/rtsvc</realTimeServiceURI>
346
347           <!-- Comment out or delete for no freebusy url service -->
348           <fburlServiceURI>/fbsvc</fburlServiceURI>
349
350           <!-- Comment out or delete for no web calendar service -->
351           <webcalServiceURI>/webcal</webcalServiceURI>
352         </Pubcaldav>
353
354         <!-- ==================================================================
355                           Dump restore program dumpres
356              ================================================================== -->
357         <dumpres classname="org.bedework.calfacade.configs.DumpRestoreConfig">
358           <debug>true</debug>
359           <debugEntity>false</debugEntity>
360           <superGroupName>campusAdminGroups</superGroupName>
361           <defaultPublicCalPath>/public/Other Events/Other</defaultPublicCalPath>
362         </dumpres>
363       </app>
364     </bedework>
365   </org>
366 </bedework-options>
367
Note: See TracBrowser for help on using the browser.