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

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

Two distinct sets of updates here.

1. Add some support (not fully working yet) for liferay5. Some old unused stylesheets were deleted to tidy up and while working on this decided the second set of updates were needed asa first step to simplification

2. Ensure that only the option xml file is used at run time.

Some properties were moved into the xml file and code was adjusted to refer to the xml config objects.

CalEnv?, CalEnvI, CalEnvFactory? were removed.

Following properties were moved into options.xml

org.bedework.app.X.nogroupallowed

org.bedework.app.X.publicadmin

org.bedework.app.X.guestmode

sysintfimpl (caldav)

org.bedework.global.system.name --> globals.systemName

org.bedework.app.X.run.as.user --> runAsUser

org.bedework.app.CalAdmin?.admingroupsidprefix=agrp_

Removed remaining run-time references to
org.bedework.app.X.name
org.bedework.app.X.root

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