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

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

Add an extra filter for the quickstart deployment so we can point to stuff in the quickstart

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