root/trunk/config/bwbuild/liferay5/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.

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                           Admin web client CalAdmin
152              ================================================================== -->
153         <CalAdmin classname="org.bedework.calfacade.configs.AdminConfig">
154           <autoCreateContacts>false</autoCreateContacts>
155           <autoDeleteContacts>false</autoDeleteContacts>
156           <autoCreateLocations>false</autoCreateLocations>
157           <autoDeleteLocations>false</autoDeleteLocations>
158           <allowEditAllCategories>false</allowEditAllCategories>
159           <allowEditAllLocations>false</allowEditAllLocations>
160           <allowEditAllContacts>false</allowEditAllContacts>
161           <categoryOptional>true</categoryOptional>
162
163           <noGroupAllowed>false</noGroupAllowed>
164
165           <appType>webadmin</appType>
166           <publicAdmin>true</publicAdmin>
167           <guestMode>false</guestMode>
168
169           <!-- This will become a system configuration in time -->
170           <submissionRoot>/public/unbrowsable/submissions</submissionRoot>
171
172           <!-- Default value for 24 hour mode -->
173           <hour24>true</hour24>
174
175           <!-- Default value for minute increments -->
176           <minIncrement>5</minIncrement>
177
178           <logPrefix>PubEventsAdmin</logPrefix>
179
180           <appRoot>http://localhost:8080/caladminrsrc</appRoot>
181         </CalAdmin>
182
183         <!-- ==================================================================
184                           Public event submission web client EventSubmit
185              ================================================================== -->
186         <EventSubmit classname="org.bedework.calfacade.configs.ClientConfig">
187           <autoCreateContacts>false</autoCreateContacts>
188           <autoDeleteContacts>false</autoDeleteContacts>
189           <autoCreateLocations>false</autoCreateLocations>
190           <autoDeleteLocations>false</autoDeleteLocations>
191
192           <appType>websubmit</appType>
193           <publicAdmin>false</publicAdmin>
194           <guestMode>false</guestMode>
195
196           <!-- This will become a system configuration in time -->
197           <submissionRoot>/public/unbrowsable/submissions</submissionRoot>
198
199           <!-- Default value for 24 hour mode -->
200           <hour24>true</hour24>
201
202           <!-- Default value for minute increments -->
203           <minIncrement>5</minIncrement>
204
205           <showYearData>false</showYearData>
206
207           <logPrefix>EventSubmit</logPrefix>
208
209           <appRoot>http://localhost:8080/eventsubmitrsrc</appRoot>
210
211           <refreshAction>setup.do</refreshAction>
212           <refreshInterval>900</refreshInterval>
213         </EventSubmit>
214
215         <!-- ==================================================================
216                           Public web client Events
217              ================================================================== -->
218         <Events classname="org.bedework.calfacade.configs.ClientConfig">
219           <cachingOn>true</cachingOn>
220           <cachePrefix>bwpubevents</cachePrefix>
221
222           <autoCreateContacts>false</autoCreateContacts>
223           <autoDeleteContacts>false</autoDeleteContacts>
224           <autoCreateLocations>false</autoCreateLocations>
225           <autoDeleteLocations>false</autoDeleteLocations>
226
227           <appType>webpublic</appType>
228           <publicAdmin>false</publicAdmin>
229           <guestMode>true</guestMode>
230           <runAsUser>public-user</runAsUser>
231
232           <!-- Default value for 24 hour mode -->
233           <hour24>true</hour24>
234
235           <!-- Default value for minute increments -->
236           <minIncrement>5</minIncrement>
237
238           <showYearData>false</showYearData>
239
240           <logPrefix>PubEvents</logPrefix>
241
242           <appRoot>http://localhost:8080/calrsrc</appRoot>
243
244           <refreshAction>setup.do</refreshAction>
245           <refreshInterval>300</refreshInterval>
246
247           <calSuite>MainCampus</calSuite>
248         </Events>
249
250         <!-- ==================================================================
251                           Demo departmental Public web client SoEDept
252              ================================================================== -->
253         <SoEDept classname="org.bedework.calfacade.configs.ClientConfig">
254           <cachingOn>true</cachingOn>
255           <cachePrefix>bwpubevents</cachePrefix>
256
257           <autoCreateContacts>false</autoCreateContacts>
258           <autoDeleteContacts>false</autoDeleteContacts>
259           <autoCreateLocations>false</autoCreateLocations>
260           <autoDeleteLocations>false</autoDeleteLocations>
261
262           <appType>webpublic</appType>
263           <publicAdmin>false</publicAdmin>
264           <guestMode>true</guestMode>
265           <runAsUser>public-user</runAsUser>
266
267           <!-- Default value for 24 hour mode -->
268           <hour24>true</hour24>
269
270           <!-- Default value for minute increments -->
271           <minIncrement>5</minIncrement>
272
273           <showYearData>false</showYearData>
274
275           <logPrefix>SoEDept</logPrefix>
276
277           <appRoot>http://localhost:8080/calrsrc</appRoot>
278
279           <refreshAction>setup.do</refreshAction>
280           <refreshInterval>300</refreshInterval>
281
282           <calSuite>SoEDepartmental</calSuite>
283         </SoEDept>
284
285         <!-- ==================================================================
286                           User web client UserCal
287              ================================================================== -->
288         <UserCal classname="org.bedework.calfacade.configs.ClientConfig">
289           <autoCreateContacts>false</autoCreateContacts>
290           <autoDeleteContacts>false</autoDeleteContacts>
291           <autoCreateLocations>false</autoCreateLocations>
292           <autoDeleteLocations>false</autoDeleteLocations>
293
294           <appType>webuser</appType>
295           <publicAdmin>false</publicAdmin>
296           <guestMode>false</guestMode>
297
298           <!-- Default value for 24 hour mode -->
299           <hour24>true</hour24>
300
301           <!-- Default value for minute increments -->
302           <minIncrement>5</minIncrement>
303
304           <showYearData>false</showYearData>
305
306           <logPrefix>PersonalCalendar</logPrefix>
307
308           <appRoot>http://localhost:8080/ucalrsrc</appRoot>
309
310           <refreshAction>setup.do</refreshAction>
311           <refreshInterval>300</refreshInterval>
312         </UserCal>
313
314         <!-- ==================================================================
315                           User CalDAV server UserCalDAV
316              ================================================================== -->
317         <Usercaldav classname="org.bedework.calfacade.configs.CalDAVConfig">
318           <publicAdmin>false</publicAdmin>
319           <guestMode>false</guestMode>
320
321           <sysintfImpl>org.bedework.caldav.bwserver.BwSysIntfImpl</sysintfImpl>
322
323           <!-- Comment out or delete for no real time server to server service
324                Currently under development and may present a security risk in
325                production systems -->
326           <realTimeServiceURI>/rtsvc</realTimeServiceURI>
327
328           <!-- Comment out or delete for no freebusy url service -->
329           <fburlServiceURI>/fbsvc</fburlServiceURI>
330
331           <!-- Comment out or delete for no web calendar service -->
332           <webcalServiceURI>/webcal</webcalServiceURI>
333         </Usercaldav>
334
335         <!-- ==================================================================
336                           Public (unauthenticated) CalDAV server PublicCalDAV
337              ================================================================== -->
338         <Pubcaldav classname="org.bedework.calfacade.configs.CalDAVConfig">
339           <publicAdmin>false</publicAdmin>
340           <guestMode>true</guestMode>
341           <runAsUser>public-user</runAsUser>
342
343           <sysintfImpl>org.bedework.caldav.bwserver.BwSysIntfImpl</sysintfImpl>
344
345           <!-- Comment out or delete for no real time server to server service
346                Currently under development and may present a security risk in
347                production systems -->
348           <realTimeServiceURI>/rtsvc</realTimeServiceURI>
349
350           <!-- Comment out or delete for no freebusy url service -->
351           <fburlServiceURI>/fbsvc</fburlServiceURI>
352
353           <!-- Comment out or delete for no web calendar service -->
354           <webcalServiceURI>/webcal</webcalServiceURI>
355         </Pubcaldav>
356
357         <!-- ==================================================================
358                           Dump restore program dumpres
359              ================================================================== -->
360         <dumpres classname="org.bedework.calfacade.configs.DumpRestoreConfig">
361           <debug>true</debug>
362           <debugEntity>false</debugEntity>
363           <superGroupName>campusAdminGroups</superGroupName>
364           <defaultPublicCalPath>/public/Other Events/Other</defaultPublicCalPath>
365         </dumpres>
366       </app>
367     </bedework>
368   </org>
369 </bedework-options>
370
Note: See TracBrowser for help on using the browser.