root/trunk/config/configs/democal.options.xml

Revision 1546 (checked in by douglm, 6 years ago)

Some code to allow interaction with external caldav servers.

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
98         <!-- size limits -->
99         <maxPublicDescriptionLength>500</maxPublicDescriptionLength>
100         <maxUserDescriptionLength>5000</maxUserDescriptionLength>
101         <maxUserEntitySize>100000</maxUserEntitySize>
102         <defaultUserQuota>10000000</defaultUserQuota> <!-- 10 Meg OK? -->
103
104         <!-- Max number of instances per recurring event -->
105         <maxInstances>1000</maxInstances>
106
107         <!-- Max number of years per recurring event -->
108         <maxYears>50</maxYears>
109
110         <userauthClass>org.bedework.calsvc.directory.UserAuthUWDbImpl</userauthClass>
111         <mailerClass>org.bedework.mail.DummyMailer</mailerClass>
112         <admingroupsClass>org.bedework.calsvc.directory.AdminGroupsDbImpl</admingroupsClass>
113         <!--
114         <usergroupsClass>org.bedework.calsvc.directory.UserGroupsLdapImpl</usergroupsClass>
115         -->
116         <usergroupsClass>org.bedework.calsvc.directory.GroupsDbImpl</usergroupsClass>
117
118         <directoryBrowsingDisallowed>@DIRECTORY-BROWSING-DISALLOWED@</directoryBrowsingDisallowed>
119
120         <indexRoot>lucene/indexroot</indexRoot>
121       </syspars>
122
123       <app>
124         <!-- ==================================================================
125                           Admin web client CalAdmin
126              ================================================================== -->
127         <CalAdmin classname="org.bedework.calfacade.configs.AdminConfig">
128           <autoCreateContacts>false</autoCreateContacts>
129           <autoDeleteContacts>false</autoDeleteContacts>
130           <autoCreateLocations>false</autoCreateLocations>
131           <autoDeleteLocations>false</autoDeleteLocations>
132           <allowEditAllCategories>false</allowEditAllCategories>
133           <allowEditAllLocations>false</allowEditAllLocations>
134           <allowEditAllContacts>false</allowEditAllContacts>
135           <categoryOptional>true</categoryOptional>
136
137           <!-- Default value for 24 hour mode -->
138           <hour24>true</hour24>
139
140           <!-- Default value for minute increments -->
141           <minIncrement>5</minIncrement>
142
143           <logPrefix>PubEventsAdmin</logPrefix>
144
145           <appRoot>/caladminrsrc</appRoot>
146           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
147         </CalAdmin>
148
149         <!-- ==================================================================
150                           Public web client Events
151              ================================================================== -->
152         <Events classname="org.bedework.calfacade.configs.ClientConfig">
153           <autoCreateContacts>false</autoCreateContacts>
154           <autoDeleteContacts>false</autoDeleteContacts>
155           <autoCreateLocations>false</autoCreateLocations>
156           <autoDeleteLocations>false</autoDeleteLocations>
157
158           <!-- Default value for 24 hour mode -->
159           <hour24>true</hour24>
160
161           <!-- Default value for minute increments -->
162           <minIncrement>5</minIncrement>
163
164           <showYearData>false</showYearData>
165
166           <logPrefix>PubEvents</logPrefix>
167
168           <appRoot>/calrsrc</appRoot>
169           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
170
171           <refreshAction>setup.do</refreshAction>
172           <refreshInterval>300</refreshInterval>
173
174           <calSuite>MainCampus</calSuite>
175         </Events>
176
177         <!-- ==================================================================
178                           Demo departmental Public web client SoEDept
179              ================================================================== -->
180         <SoEDept classname="org.bedework.calfacade.configs.ClientConfig">
181           <autoCreateContacts>false</autoCreateContacts>
182           <autoDeleteContacts>false</autoDeleteContacts>
183           <autoCreateLocations>false</autoCreateLocations>
184           <autoDeleteLocations>false</autoDeleteLocations>
185
186           <!-- Default value for 24 hour mode -->
187           <hour24>true</hour24>
188
189           <!-- Default value for minute increments -->
190           <minIncrement>5</minIncrement>
191
192           <showYearData>false</showYearData>
193
194           <logPrefix>SoEDept</logPrefix>
195
196           <appRoot>/calrsrc</appRoot>
197           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
198
199           <refreshAction>setup.do</refreshAction>
200           <refreshInterval>300</refreshInterval>
201
202           <calSuite>SoEDepartmental</calSuite>
203         </SoEDept>
204
205         <!-- ==================================================================
206                           User web client UserCal
207              ================================================================== -->
208         <UserCal classname="org.bedework.calfacade.configs.ClientConfig">
209           <autoCreateContacts>false</autoCreateContacts>
210           <autoDeleteContacts>false</autoDeleteContacts>
211           <autoCreateLocations>false</autoCreateLocations>
212           <autoDeleteLocations>false</autoDeleteLocations>
213
214           <!-- Default value for 24 hour mode -->
215           <hour24>true</hour24>
216
217           <!-- Default value for minute increments -->
218           <minIncrement>5</minIncrement>
219
220           <showYearData>false</showYearData>
221
222           <logPrefix>PersonalCalendar</logPrefix>
223
224           <appRoot>/ucalrsrc</appRoot>
225           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
226
227           <refreshAction>setup.do</refreshAction>
228           <refreshInterval>300</refreshInterval>
229         </UserCal>
230
231         <!-- ==================================================================
232                           Dump restore program dumpres
233              ================================================================== -->
234         <dumpres classname="org.bedework.calfacade.configs.DumpRestoreConfig">
235           <debug>true</debug>
236           <debugEntity>false</debugEntity>
237           <superGroupName>campusAdminGroups</superGroupName>
238           <defaultPublicCalPath>/public/Other Events/Other</defaultPublicCalPath>
239         </dumpres>
240
241         <!-- ==================================================================
242                           Dump restore program restoreFrom2p3px
243              Use the restore utility to convert from uwcal 2.3
244              ================================================================== -->
245         <restoreFrom2p3px classname="org.bedework.calfacade.configs.DumpRestoreConfig">
246           <debug>true</debug>
247           <debugEntity>false</debugEntity>
248           <from2p3px>true</from2p3px>
249           <timezonesFilename>resources/bwtimezones.xml</timezonesFilename>
250           <superGroupName>campusAdminGroups</superGroupName>
251           <defaultPublicCalPath>/public/Other Events/Other</defaultPublicCalPath>
252         </restoreFrom2p3px>
253       </app>
254     </bedework>
255   </org>
256 </bedework-options>
257
Note: See TracBrowser for help on using the browser.