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

Revision 2124 (checked in by johnsa, 4 years ago)

correctly set admin as super user by default

  • 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         <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/</providerUrl>
75             <groupContextDn>ou=groups, dc=bedework, dc=org</groupContextDn>
76             <groupMemberAttr>uniqueMember</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           </user-ldap-group>
83
84           <testmail classname="org.bedework.mail.MailConfigProperties">
85             <protocol>smtp</protocol>
86             <protocolClass>com.sun.mail.smtp.SMTPTransport</protocolClass>
87             <serverIp>localhost</serverIp>
88             <from>calendar.myplace.edu</from>
89             <subject>Message from demo calendar server</subject>
90             <disabled>false</disabled>
91           </testmail>
92
93           <dummymail classname="org.bedework.mail.MailConfigProperties">
94             <disabled>false</disabled>
95           </dummymail>
96
97           <default-pwencrypt classname="org.bedework.calfacade.security.DefaultPwEncryptionConfig">
98             <privKeys>@QUICKSTART_DIR@/data/bedework/privkeys</privKeys>
99             <pubKeys>@QUICKSTART_DIR@/data/bedework/pubkeys</pubKeys>
100
101             <debug>true</debug>
102             <verbose>true</verbose>
103           </default-pwencrypt>
104         </module>
105       </global>
106
107       <syspars classname="org.bedework.calfacade.BwSystem">
108         <!-- name must match the global system name -->
109         <name>bedework</name>
110         <tzid>America/New_York</tzid>
111         <systemid>demobedework@mysite.edu</systemid>
112
113         <publicCalendarRoot>public</publicCalendarRoot>
114         <userCalendarRoot>user</userCalendarRoot>
115         <userDefaultCalendar>calendar</userDefaultCalendar>
116         <defaultTrashCalendar>Trash</defaultTrashCalendar>
117         <userInbox>Inbox</userInbox>
118         <userOutbox>Outbox</userOutbox>
119         <deletedCalendar>Deleted</deletedCalendar>
120         <busyCalendar>Busy</busyCalendar>
121
122         <defaultUserViewName>All</defaultUserViewName>
123         <defaultUserHour24>true</defaultUserHour24>
124
125         <publicUser>public-user</publicUser>
126
127         <httpConnectionsPerUser>10</httpConnectionsPerUser>
128         <httpConnectionsPerHost>50</httpConnectionsPerHost>
129         <httpConnections>200</httpConnections>
130
131         <!-- size limits -->
132         <maxPublicDescriptionLength>500</maxPublicDescriptionLength>
133         <maxUserDescriptionLength>5000</maxUserDescriptionLength>
134         <maxUserEntitySize>100000</maxUserEntitySize>
135         <defaultUserQuota>10000000</defaultUserQuota> <!-- 10 Meg OK? -->
136
137         <!-- Max number of instances per recurring event -->
138         <maxInstances>1000</maxInstances>
139
140         <!-- Max number of years per recurring event -->
141         <maxYears>50</maxYears>
142
143         <userauthClass>org.bedework.calsvc.directory.UserAuthUWDbImpl</userauthClass>
144         <mailerClass>org.bedework.mail.DummyMailer</mailerClass>
145         <admingroupsClass>org.bedework.calsvc.directory.AdminGroupsDbImpl</admingroupsClass>
146         <!--
147         <usergroupsClass>org.bedework.calsvc.directory.UserGroupsLdapImpl</usergroupsClass>
148         -->
149         <usergroupsClass>org.bedework.calsvc.directory.GroupsDbImpl</usergroupsClass>
150
151         <directoryBrowsingDisallowed>true</directoryBrowsingDisallowed>
152
153         <indexRoot>lucene/indexroot</indexRoot>
154
155         <rootUsers>admin</rootUsers>
156       </syspars>
157
158       <app>
159         <!-- ==================================================================
160                           Timezones server
161              ================================================================== -->
162         <tzsvr classname="org.bedework.calfacade.configs.ConfigCommon">
163           <appType>tzsvr</appType>
164           <publicAdmin>false</publicAdmin>
165           <guestMode>true</guestMode>
166         </tzsvr>
167
168         <!-- ==================================================================
169                           Config web client
170              ================================================================== -->
171         <bwconfig classname="org.bedework.calfacade.configs.ConfigCommon">
172           <appType>webconfig</appType>
173           <publicAdmin>false</publicAdmin>
174           <guestMode>false</guestMode>
175         </bwconfig>
176
177         <!-- ==================================================================
178                           Admin web client CalAdmin
179              ================================================================== -->
180         <CalAdmin classname="org.bedework.calfacade.configs.AdminConfig">
181           <autoCreateContacts>false</autoCreateContacts>
182           <autoDeleteContacts>false</autoDeleteContacts>
183           <autoCreateLocations>false</autoCreateLocations>
184           <autoDeleteLocations>false</autoDeleteLocations>
185           <allowEditAllCategories>false</allowEditAllCategories>
186           <allowEditAllLocations>false</allowEditAllLocations>
187           <allowEditAllContacts>false</allowEditAllContacts>
188           <categoryOptional>true</categoryOptional>
189
190           <noGroupAllowed>false</noGroupAllowed>
191
192           <appType>webadmin</appType>
193           <publicAdmin>true</publicAdmin>
194           <guestMode>false</guestMode>
195
196           <!-- This will become a system configuration in time -->
197           <submissionRoot>/public/unbrowsable/submissions</submissionRoot>
198
199           <!-- Default value for 24 hour mode -->
200           <hour24>true</hour24>
201
202           <!-- Default value for minute increments -->
203           <minIncrement>5</minIncrement>
204
205           <logPrefix>PubEventsAdmin</logPrefix>
206
207           <appRoot>http://localhost:8080/caladminrsrc</appRoot>
208         </CalAdmin>
209
210         <!-- ==================================================================
211                           Public event submission web client EventSubmit
212              ================================================================== -->
213         <EventSubmit classname="org.bedework.calfacade.configs.ClientConfig">
214           <autoCreateContacts>false</autoCreateContacts>
215           <autoDeleteContacts>false</autoDeleteContacts>
216           <autoCreateLocations>false</autoCreateLocations>
217           <autoDeleteLocations>false</autoDeleteLocations>
218
219           <appType>websubmit</appType>
220           <publicAdmin>false</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           <showYearData>false</showYearData>
233
234           <logPrefix>EventSubmit</logPrefix>
235
236           <appRoot>http://localhost:8080/eventsubmitrsrc</appRoot>
237
238           <refreshAction>setup.do</refreshAction>
239           <refreshInterval>900</refreshInterval>
240         </EventSubmit>
241
242         <!-- ==================================================================
243                           Public web client Events
244              ================================================================== -->
245         <Events classname="org.bedework.calfacade.configs.ClientConfig">
246           <cachingOn>true</cachingOn>
247           <cachePrefix>bwpubevents</cachePrefix>
248
249           <autoCreateContacts>false</autoCreateContacts>
250           <autoDeleteContacts>false</autoDeleteContacts>
251           <autoCreateLocations>false</autoCreateLocations>
252           <autoDeleteLocations>false</autoDeleteLocations>
253
254           <appType>webpublic</appType>
255           <publicAdmin>false</publicAdmin>
256           <guestMode>true</guestMode>
257
258           <!-- Default value for 24 hour mode -->
259           <hour24>true</hour24>
260
261           <!-- Default value for minute increments -->
262           <minIncrement>5</minIncrement>
263
264           <showYearData>false</showYearData>
265
266           <logPrefix>PubEvents</logPrefix>
267
268           <appRoot>http://localhost:8080/calrsrc</appRoot>
269
270           <refreshAction>setup.do</refreshAction>
271           <refreshInterval>300</refreshInterval>
272
273           <calSuite>MainCampus</calSuite>
274         </Events>
275
276         <!-- ==================================================================
277                           Demo departmental Public web client SoEDept
278              ================================================================== -->
279         <SoEDept classname="org.bedework.calfacade.configs.ClientConfig">
280           <cachingOn>true</cachingOn>
281           <cachePrefix>bwpubevents</cachePrefix>
282
283           <autoCreateContacts>false</autoCreateContacts>
284           <autoDeleteContacts>false</autoDeleteContacts>
285           <autoCreateLocations>false</autoCreateLocations>
286           <autoDeleteLocations>false</autoDeleteLocations>
287
288           <appType>webpublic</appType>
289           <publicAdmin>false</publicAdmin>
290           <guestMode>true</guestMode>
291
292           <!-- Default value for 24 hour mode -->
293           <hour24>true</hour24>
294
295           <!-- Default value for minute increments -->
296           <minIncrement>5</minIncrement>
297
298           <showYearData>false</showYearData>
299
300           <logPrefix>SoEDept</logPrefix>
301
302           <appRoot>http://localhost:8080/calrsrc</appRoot>
303
304           <refreshAction>setup.do</refreshAction>
305           <refreshInterval>300</refreshInterval>
306
307           <calSuite>SoEDepartmental</calSuite>
308         </SoEDept>
309
310         <!-- ==================================================================
311                           User web client UserCal
312              ================================================================== -->
313         <UserCal classname="org.bedework.calfacade.configs.ClientConfig">
314           <autoCreateContacts>false</autoCreateContacts>
315           <autoDeleteContacts>false</autoDeleteContacts>
316           <autoCreateLocations>false</autoCreateLocations>
317           <autoDeleteLocations>false</autoDeleteLocations>
318
319           <appType>webuser</appType>
320           <publicAdmin>false</publicAdmin>
321           <guestMode>false</guestMode>
322
323           <!-- Default value for 24 hour mode -->
324           <hour24>true</hour24>
325
326           <!-- Default value for minute increments -->
327           <minIncrement>5</minIncrement>
328
329           <showYearData>false</showYearData>
330
331           <logPrefix>PersonalCalendar</logPrefix>
332
333           <appRoot>http://localhost:8080/ucalrsrc</appRoot>
334
335           <refreshAction>setup.do</refreshAction>
336           <refreshInterval>300</refreshInterval>
337         </UserCal>
338
339         <!-- ==================================================================
340                           User CalDAV server UserCalDAV
341              ================================================================== -->
342         <Usercaldav classname="org.bedework.calfacade.configs.CalDAVConfig">
343           <appType>usercaldav</appType>
344           <publicAdmin>false</publicAdmin>
345           <guestMode>false</guestMode>
346
347           <sysintfImpl>org.bedework.caldav.bwserver.BwSysIntfImpl</sysintfImpl>
348
349           <!-- Comment out or delete for no real time server to server service
350                Currently under development and may present a security risk in
351                production systems -->
352           <realTimeServiceURI>/rtsvc</realTimeServiceURI>
353
354           <!-- Comment out or delete for no freebusy url service -->
355           <fburlServiceURI>/fbsvc</fburlServiceURI>
356
357           <!-- Comment out or delete for no web calendar service -->
358           <webcalServiceURI>/webcal</webcalServiceURI>
359         </Usercaldav>
360
361         <!-- ==================================================================
362                           Public (unauthenticated) CalDAV server PublicCalDAV
363              ================================================================== -->
364         <Pubcaldav classname="org.bedework.calfacade.configs.CalDAVConfig">
365           <appType>publiccaldav</appType>
366           <publicAdmin>false</publicAdmin>
367           <guestMode>true</guestMode>
368
369           <sysintfImpl>org.bedework.caldav.bwserver.BwSysIntfImpl</sysintfImpl>
370
371           <!-- Comment out or delete for no real time server to server service
372                Currently under development and may present a security risk in
373                production systems -->
374           <realTimeServiceURI>/rtsvc</realTimeServiceURI>
375
376           <!-- Comment out or delete for no freebusy url service -->
377           <fburlServiceURI>/fbsvc</fburlServiceURI>
378
379           <!-- Comment out or delete for no web calendar service -->
380           <webcalServiceURI>/webcal</webcalServiceURI>
381         </Pubcaldav>
382
383         <!-- ==================================================================
384                           CalDAV test suite
385              ================================================================== -->
386         <caldavTest classname="org.bedework.calfacade.configs.ConfigCommon">
387           <appType>caldavTest</appType>
388           <publicAdmin>false</publicAdmin>
389           <guestMode>false</guestMode>
390         </caldavTest>
391
392         <!-- ==================================================================
393                           bedework test suite
394              ================================================================== -->
395         <test classname="org.bedework.calfacade.configs.ConfigCommon">
396           <appType>testsuite</appType>
397           <publicAdmin>false</publicAdmin>
398           <guestMode>false</guestMode>
399         </test>
400
401         <!-- ==================================================================
402                           Dump restore program dumpres
403              ================================================================== -->
404         <dumpres classname="org.bedework.calfacade.configs.DumpRestoreConfig">
405           <debug>true</debug>
406           <appType>dumprestore</appType>
407           <guestMode>true</guestMode>
408           <debugEntity>false</debugEntity>
409           <superGroupName>campusAdminGroups</superGroupName>
410           <defaultPublicCalPath>/public/Other Events/Other</defaultPublicCalPath>
411         </dumpres>
412       </app>
413     </bedework>
414   </org>
415 </bedework-options>
416
Note: See TracBrowser for help on using the browser.