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

Revision 1093 (checked in by douglm, 7 years ago)

Correct acl hrefs which are supposed to be principal uris.

Change the caldav system inteface and implementations to return principal roots.

Change acl emitting code to use new href builder class

Change calling code appropriately.

Add principal roots to jsp headers so stylesheets can recognize a user for what it is.

Change restore program to read system properties and set them if restore data does not have the values.

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           <user-ldap-group classname="org.bedework.calcore.ldap.LdapConfigProperties">
9             <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory>
10             <providerUrl>ldap://localhost/</providerUrl>
11             <groupContextDn>ou=groups, dc=bedework, dc=org</groupContextDn>
12             <groupMemberAttr>uniqueMember</groupMemberAttr>
13             <userDnPrefix>uid=</userDnPrefix>
14             <userDnSuffix>,ou=accounts, dc=bedework, dc=org</userDnSuffix>
15             <groupDnPrefix>cn=</groupDnPrefix>
16             <groupDnSuffix>,ou=groups, dc=bedework, dc=org</groupDnSuffix>
17             <debug>true</debug>
18           </user-ldap-group>
19         </module>
20       </global>
21
22       <!-- Only used for system initialisation or conversion from 2.3 - ignored thereafter -->
23       <syspars classname="org.bedework.calfacade.BwSystem">
24         <!-- name must match the global system name -->
25         <name>bedework</name>
26         <tzid>America/New_York</tzid>
27         <systemid>demobedework@mysite.edu</systemid>
28
29         <principalRoot>/principals</principalRoot>
30         <userPrincipalRoot>/principals/users</userPrincipalRoot>
31         <groupPrincipalRoot>/principals/groups</groupPrincipalRoot>
32
33         <publicCalendarRoot>public</publicCalendarRoot>
34         <userCalendarRoot>user</userCalendarRoot>
35         <userDefaultCalendar>calendar</userDefaultCalendar>
36         <defaultTrashCalendar>Trash</defaultTrashCalendar>
37         <userInbox>Inbox</userInbox>
38         <userOutbox>Outbox</userOutbox>
39         <deletedCalendar>Deleted</deletedCalendar>
40         <busyCalendar>Busy</busyCalendar>
41
42         <defaultUserViewName>All</defaultUserViewName>
43
44         <publicUser>public-user</publicUser>
45
46         <httpConnectionsPerUser>10</httpConnectionsPerUser>
47         <httpConnectionsPerHost>50</httpConnectionsPerHost>
48         <httpConnections>200</httpConnections>
49
50
51         <!-- size limits -->
52         <maxPublicDescriptionLength>500</maxPublicDescriptionLength>
53         <maxUserDescriptionLength>5000</maxUserDescriptionLength>
54         <maxUserEntitySize>100000</maxUserEntitySize>
55         <defaultUserQuota>10000000</defaultUserQuota> <!-- 10 Meg OK? -->
56
57         <!-- Max number of instances per recurring event -->
58         <maxInstances>1000</maxInstances>
59
60         <!-- Max number of years per recurring event -->
61         <maxYears>10</maxYears>
62
63         <userauthClass>org.bedework.calcore.hibernate.UserAuthUWDbImpl</userauthClass>
64         <mailerClass>org.bedework.mail.DummyMailer</mailerClass>
65         <admingroupsClass>org.bedework.calcore.hibernate.AdminGroupsDbImpl</admingroupsClass>
66         <!--
67         <usergroupsClass>org.bedework.calcore.ldap.UserGroupsLdapImpl</usergroupsClass>
68         -->
69         <usergroupsClass>org.bedework.calcore.hibernate.GroupsDbImpl</usergroupsClass>
70
71         <directoryBrowsingDisallowed>@DIRECTORY-BROWSING-DISALLOWED@</directoryBrowsingDisallowed>
72
73         <indexRoot>lucene/indexroot</indexRoot>
74       </syspars>
75
76       <app>
77         <!-- ==================================================================
78                           Admin web client CalAdmin
79              ================================================================== -->
80         <CalAdmin classname="org.bedework.calfacade.configs.AdminConfig">
81           <autoCreateContacts>false</autoCreateContacts>
82           <autoDeleteContacts>false</autoDeleteContacts>
83           <autoCreateLocations>false</autoCreateLocations>
84           <autoDeleteLocations>false</autoDeleteLocations>
85           <allowEditAllCategories>false</allowEditAllCategories>
86           <allowEditAllLocations>false</allowEditAllLocations>
87           <allowEditAllContacts>false</allowEditAllContacts>
88           <categoryOptional>true</categoryOptional>
89
90           <!-- Default value for 24 hour mode -->
91           <hour24>true</hour24>
92
93           <!-- Default value for minute increments -->
94           <minIncrement>5</minIncrement>
95
96           <logPrefix>PubEventsAdmin</logPrefix>
97
98           <appRoot>/caladminrsrc</appRoot>
99           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
100         </CalAdmin>
101
102         <!-- ==================================================================
103                           Public web client Events
104              ================================================================== -->
105         <Events classname="org.bedework.calfacade.configs.ClientConfig">
106           <autoCreateContacts>false</autoCreateContacts>
107           <autoDeleteContacts>false</autoDeleteContacts>
108           <autoCreateLocations>false</autoCreateLocations>
109           <autoDeleteLocations>false</autoDeleteLocations>
110
111           <!-- Default value for 24 hour mode -->
112           <hour24>true</hour24>
113
114           <!-- Default value for minute increments -->
115           <minIncrement>5</minIncrement>
116
117           <showYearData>false</showYearData>
118
119           <logPrefix>PubEvents</logPrefix>
120
121           <appRoot>/calrsrc</appRoot>
122           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
123
124           <refreshAction>setup.do</refreshAction>
125           <refreshInterval>300</refreshInterval>
126
127           <calSuite>MainCampus</calSuite>
128         </Events>
129
130         <!-- ==================================================================
131                           Demo departmental Public web client SoEDept
132              ================================================================== -->
133         <SoEDept classname="org.bedework.calfacade.configs.ClientConfig">
134           <autoCreateContacts>false</autoCreateContacts>
135           <autoDeleteContacts>false</autoDeleteContacts>
136           <autoCreateLocations>false</autoCreateLocations>
137           <autoDeleteLocations>false</autoDeleteLocations>
138
139           <!-- Default value for 24 hour mode -->
140           <hour24>true</hour24>
141
142           <!-- Default value for minute increments -->
143           <minIncrement>5</minIncrement>
144
145           <showYearData>false</showYearData>
146
147           <logPrefix>SoEDept</logPrefix>
148
149           <appRoot>/calrsrc</appRoot>
150           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
151
152           <refreshAction>setup.do</refreshAction>
153           <refreshInterval>300</refreshInterval>
154
155           <calSuite>SoEDepartmental</calSuite>
156         </SoEDept>
157
158         <!-- ==================================================================
159                           User web client UserCal
160              ================================================================== -->
161         <UserCal classname="org.bedework.calfacade.configs.ClientConfig">
162           <autoCreateContacts>false</autoCreateContacts>
163           <autoDeleteContacts>false</autoDeleteContacts>
164           <autoCreateLocations>false</autoCreateLocations>
165           <autoDeleteLocations>false</autoDeleteLocations>
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>PersonalCalendar</logPrefix>
176
177           <appRoot>/ucalrsrc</appRoot>
178           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
179
180           <refreshAction>setup.do</refreshAction>
181           <refreshInterval>300</refreshInterval>
182         </UserCal>
183
184         <!-- ==================================================================
185                           Dump restore program dumpres
186              ================================================================== -->
187         <dumpres classname="org.bedework.calfacade.configs.DumpRestoreConfig">
188           <debug>true</debug>
189           <debugEntity>false</debugEntity>
190           <superGroupName>campusAdminGroups</superGroupName>
191           <defaultPublicCalPath>/public/Other Events/Other</defaultPublicCalPath>
192         </dumpres>
193
194         <!-- ==================================================================
195                           Dump restore program restoreFrom2p3px
196              Use the restore utility to convert from uwcal 2.3
197              ================================================================== -->
198         <restoreFrom2p3px classname="org.bedework.calfacade.configs.DumpRestoreConfig">
199           <debug>true</debug>
200           <debugEntity>false</debugEntity>
201           <from2p3px>true</from2p3px>
202           <timezonesFilename>resources/bwtimezones.xml</timezonesFilename>
203           <superGroupName>campusAdminGroups</superGroupName>
204           <defaultPublicCalPath>/public/Other Events/Other</defaultPublicCalPath>
205         </restoreFrom2p3px>
206       </app>
207     </bedework>
208   </org>
209 </bedework-options>
210
Note: See TracBrowser for help on using the browser.