root/releases/bedework-3.4.1/config/configs/democal.options.xml

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

Allow subscriptions URIto web calendars via the CalDAV server.

This requires an extra element in the options file to specify the url fro the web calendar service.

This update should allow Apple ical users to subscribe to sahred calendars as an interim measure until we deploy bedework aliases.

It also should be usable by Google etc. This does not implement the filtering which the user and public events interface have. These features will probably appear as filtered subscriptiuons in bedework.

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