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

Revision 1616 (checked in by douglm, 6 years ago)

Use a thread local to provide access to timezones handlers rather than passing as parameters.

This is closer to the longer term approach of having all timezones support being part of the infrastructure.

Reove 2.3 conversion config.

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         </module>
71       </global>
72
73       <syspars classname="org.bedework.calfacade.BwSystem">
74         <!-- name must match the global system name -->
75         <name>bedework</name>
76         <tzid>America/New_York</tzid>
77         <systemid>demobedework@mysite.edu</systemid>
78
79         <publicCalendarRoot>public</publicCalendarRoot>
80         <userCalendarRoot>user</userCalendarRoot>
81         <userDefaultCalendar>calendar</userDefaultCalendar>
82         <defaultTrashCalendar>Trash</defaultTrashCalendar>
83         <userInbox>Inbox</userInbox>
84         <userOutbox>Outbox</userOutbox>
85         <deletedCalendar>Deleted</deletedCalendar>
86         <busyCalendar>Busy</busyCalendar>
87
88         <defaultUserViewName>All</defaultUserViewName>
89         <defaultUserHour24>true</defaultUserHour24>
90
91         <publicUser>public-user</publicUser>
92
93         <httpConnectionsPerUser>10</httpConnectionsPerUser>
94         <httpConnectionsPerHost>50</httpConnectionsPerHost>
95         <httpConnections>200</httpConnections>
96
97
98         <!-- size limits -->
99         <maxPublicDescriptionLength>500</maxPublicDescriptionLength>
100         <maxUserDescriptionLength>5000</maxUserDescriptionLength>
101         <maxUserEntitySize>100000</maxUserEntitySize>
102         <defaultUserQuota>10000000</defaultUserQuota> <!-- 10 Meg OK? -->
103
104         <!-- Max number of instances per recurring event -->
105         <maxInstances>1000</maxInstances>
106
107         <!-- Max number of years per recurring event -->
108         <maxYears>50</maxYears>
109
110         <userauthClass>org.bedework.calsvc.directory.UserAuthUWDbImpl</userauthClass>
111         <mailerClass>org.bedework.mail.DummyMailer</mailerClass>
112         <admingroupsClass>org.bedework.calsvc.directory.AdminGroupsDbImpl</admingroupsClass>
113         <!--
114         <usergroupsClass>org.bedework.calsvc.directory.UserGroupsLdapImpl</usergroupsClass>
115         -->
116         <usergroupsClass>org.bedework.calsvc.directory.GroupsDbImpl</usergroupsClass>
117
118         <directoryBrowsingDisallowed>@DIRECTORY-BROWSING-DISALLOWED@</directoryBrowsingDisallowed>
119
120         <indexRoot>lucene/indexroot</indexRoot>
121       </syspars>
122
123       <app>
124         <!-- ==================================================================
125                           Admin web client CalAdmin
126              ================================================================== -->
127         <CalAdmin classname="org.bedework.calfacade.configs.AdminConfig">
128           <autoCreateContacts>false</autoCreateContacts>
129           <autoDeleteContacts>false</autoDeleteContacts>
130           <autoCreateLocations>false</autoCreateLocations>
131           <autoDeleteLocations>false</autoDeleteLocations>
132           <allowEditAllCategories>false</allowEditAllCategories>
133           <allowEditAllLocations>false</allowEditAllLocations>
134           <allowEditAllContacts>false</allowEditAllContacts>
135           <categoryOptional>true</categoryOptional>
136
137           <appType>webadmin</appType>
138
139           <!-- Default value for 24 hour mode -->
140           <hour24>true</hour24>
141
142           <!-- Default value for minute increments -->
143           <minIncrement>5</minIncrement>
144
145           <logPrefix>PubEventsAdmin</logPrefix>
146
147           <appRoot>http://localhost:8080/caladminrsrc</appRoot>
148           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
149         </CalAdmin>
150
151         <!-- ==================================================================
152                           Public event submission web client EventSubmit
153              ================================================================== -->
154         <EventSubmit classname="org.bedework.calfacade.configs.ClientConfig">
155           <autoCreateContacts>false</autoCreateContacts>
156           <autoDeleteContacts>false</autoDeleteContacts>
157           <autoCreateLocations>false</autoCreateLocations>
158           <autoDeleteLocations>false</autoDeleteLocations>
159
160           <appType>websubmit</appType>
161           <submissionRoot>/public/hidden/submission</submissionRoot>
162
163           <!-- Default value for 24 hour mode -->
164           <hour24>false</hour24>
165
166           <!-- Default value for minute increments -->
167           <minIncrement>5</minIncrement>
168
169           <showYearData>false</showYearData>
170
171           <logPrefix>EventSubmit</logPrefix>
172
173           <appRoot>http://localhost:8080/eventsubmitrsrc</appRoot>
174           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
175
176           <refreshAction>setup.do</refreshAction>
177           <refreshInterval>900</refreshInterval>
178         </EventSubmit>
179
180         <!-- ==================================================================
181                           Public web client Events
182              ================================================================== -->
183         <Events classname="org.bedework.calfacade.configs.ClientConfig">
184           <cachingOn>true</cachingOn>
185           <cachePrefix>bwpubevents</cachePrefix>
186
187           <autoCreateContacts>false</autoCreateContacts>
188           <autoDeleteContacts>false</autoDeleteContacts>
189           <autoCreateLocations>false</autoCreateLocations>
190           <autoDeleteLocations>false</autoDeleteLocations>
191
192           <appType>webpublic</appType>
193
194           <!-- Default value for 24 hour mode -->
195           <hour24>true</hour24>
196
197           <!-- Default value for minute increments -->
198           <minIncrement>5</minIncrement>
199
200           <showYearData>false</showYearData>
201
202           <logPrefix>PubEvents</logPrefix>
203
204           <appRoot>http://localhost:8080/calrsrc</appRoot>
205           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
206
207           <refreshAction>setup.do</refreshAction>
208           <refreshInterval>300</refreshInterval>
209
210           <calSuite>MainCampus</calSuite>
211         </Events>
212
213         <!-- ==================================================================
214                           Demo departmental Public web client SoEDept
215              ================================================================== -->
216         <SoEDept classname="org.bedework.calfacade.configs.ClientConfig">
217           <cachingOn>true</cachingOn>
218           <cachePrefix>bwpubevents</cachePrefix>
219
220           <autoCreateContacts>false</autoCreateContacts>
221           <autoDeleteContacts>false</autoDeleteContacts>
222           <autoCreateLocations>false</autoCreateLocations>
223           <autoDeleteLocations>false</autoDeleteLocations>
224
225           <appType>webpublic</appType>
226
227           <!-- Default value for 24 hour mode -->
228           <hour24>true</hour24>
229
230           <!-- Default value for minute increments -->
231           <minIncrement>5</minIncrement>
232
233           <showYearData>false</showYearData>
234
235           <logPrefix>SoEDept</logPrefix>
236
237           <appRoot>/calrsrc</appRoot>
238           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
239
240           <refreshAction>setup.do</refreshAction>
241           <refreshInterval>300</refreshInterval>
242
243           <calSuite>SoEDepartmental</calSuite>
244         </SoEDept>
245
246         <!-- ==================================================================
247                           User web client UserCal
248              ================================================================== -->
249         <UserCal classname="org.bedework.calfacade.configs.ClientConfig">
250           <autoCreateContacts>false</autoCreateContacts>
251           <autoDeleteContacts>false</autoDeleteContacts>
252           <autoCreateLocations>false</autoCreateLocations>
253           <autoDeleteLocations>false</autoDeleteLocations>
254
255           <appType>webuser</appType>
256
257           <!-- Default value for 24 hour mode -->
258           <hour24>true</hour24>
259
260           <!-- Default value for minute increments -->
261           <minIncrement>5</minIncrement>
262
263           <showYearData>false</showYearData>
264
265           <logPrefix>PersonalCalendar</logPrefix>
266
267           <appRoot>/ucalrsrc</appRoot>
268           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
269
270           <refreshAction>setup.do</refreshAction>
271           <refreshInterval>300</refreshInterval>
272         </UserCal>
273
274         <!-- ==================================================================
275                           User CalDAV server UserCalDAV
276              ================================================================== -->
277         <UserCalDAV classname="org.bedework.calfacade.configs.CalDAVConfig">
278           <!-- Comment out or delete for no real time server to server service
279                Currently under development and may present a security risk in
280                production systems -->
281           <realTimeServiceURI>/rtsvc</realTimeServiceURI>
282
283           <!-- Comment out or delete for no freebusy url service -->
284           <fburlServiceURI>/fbsvc</fburlServiceURI>
285         </UserCalDAV>
286
287         <!-- ==================================================================
288                           Public (unauthenticated) CalDAV server PublicCalDAV
289              ================================================================== -->
290         <PublicCalDAV classname="org.bedework.calfacade.configs.CalDAVConfig">
291           <!-- Comment out or delete for no real time server to server service
292                Currently under development and may present a security risk in
293                production systems -->
294           <realTimeServiceURI>/rtsvc</realTimeServiceURI>
295
296           <!-- Comment out or delete for no freebusy url service -->
297           <fburlServiceURI>/fbsvc</fburlServiceURI>
298         </PublicCalDAV>
299
300         <!-- ==================================================================
301                           Dump restore program dumpres
302              ================================================================== -->
303         <dumpres classname="org.bedework.calfacade.configs.DumpRestoreConfig">
304           <debug>true</debug>
305           <debugEntity>false</debugEntity>
306           <superGroupName>campusAdminGroups</superGroupName>
307           <defaultPublicCalPath>/public/Other Events/Other</defaultPublicCalPath>
308         </dumpres>
309       </app>
310     </bedework>
311   </org>
312 </bedework-options>
313
Note: See TracBrowser for help on using the browser.