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