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

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

Major reorganization of the build process mostly affecting handling of portal builds.

Removed portal specific directories from teh deployment directory.

Removed portal sepcific code from buildwar.xml and added new portal specific files to be imported. These are in a section of teh bwbuild config directory.

All portal customization is now part of building the war file.

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