Wiki source code of Configuration

Version 36.2 by Jean-Vincent Drean on 2009/01/27

Show last authors
1 1 Configuration
2
3 One you have XWiki [installed>Installation] you'll want to configure it. Configuration can be done in 2 ways:
4
5 * by stopping the XWiki instance and editing the <tt>xwiki/WEB-INF/xwiki.cfg</tt> file, and then restarting XWiki
6 * by logging in as a user with admin rights and going to the Administration page (when using the XWiki 1.0 skin, there's a an "Administration" link in the top right corner of the screen - You can also go directly to <tt>http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences</tt>). This allows to keep the Server running while making the changes.
7
8 Note that some configurations are only accessible from the <tt>xwiki.cfg</tt> file and have no equivalent on the Administration page.
9
10 There are various things you can configure:
11
12 #toc("" "" "")
13
14 1.1 Enable superadmin account
15
16 Edit the <tt>xwiki.cfg</tt> file and enable the <tt>xwiki.superadminpassword</tt> property. For example:
17
18 {code:none}
19 # Enable to allow superadmin. It is disabled by default as this could be a security breach if
20 # it were set and you forgot about it.
21 xwiki.superadminpassword=system
22 {code}
23
24 When logging in, the username will be "superadmin" and the password will be the one you set in the <tt>xwiki.superadminpassword</tt> property.
25
26 1.1 Language settings
27
28 To define the default language for your wiki go to the Administration page and in the Preferences tag locate the "Default Language" field and enter the language code for the language you wish to use. For example: "en" for English, "fr" for French, "de" for German, etc.
29
30 In addition you can configure you wiki to be multilingual. See the [I18 user page>Features.I18N] for more information.
31
32 1.1 Date format
33
34 To define the date format used in the interfaces, go to ~~Administration~~ / ~~General~~, locate the "Date format" field and enter the date format you wish to use. Examples:
35
36 {table}
37 Format | Result
38 MMMM dd, HH:mm | January 27, 12:27
39 yyyy/MM/dd, HH:mm | 2009/01/27, 12:27
40 dd/MM/yyyy, HH:mm | 27/01/2009, 12:27
41 {table}
42
43 [More information about date formatting>http://java.sun.com/j2se/1.5.0/docs/api/java/text/SimpleDateFormat.html].
44
45
46 1.1 Wiki Access Configuration
47
48 The first thing you will want to do is configure a policy access for your wiki. Depending on what you intend to use your wiki for, you have several options:
49
50 * [Open Wiki>#HOpenWiki]: anyone can edit pages (including non registered users)
51 * [Public Wiki>#HPublicWiki]: only registered users can edit pages but registration is open to anyone. This is the default configuration of the default wiki (the wiki provided as a XAR on the [download page>xwiki:Main.Download]).
52 * [Private Wiki with password>#HPrivateWikiwithpassword]: registration is closed
53 * [Private Wiki with token for registering>#HPrivateWikiwithtoken]: registration is closed but users knowing the token can register
54
55 1.1.1 Open Wiki
56
57 TODO
58
59 1.1.1 Public Wiki
60
61 TODO
62
63 1.1.1 Private Wiki with password
64 1.1.1.1 Global rights
65
66 In [Global rights>http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globalrights&global=1] set *User:XWikiGuest, Groups:, Level:register, Allow-Deny:Allow*.
67
68 1.1.1.1 Registration
69
70 In [Preferences>http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences] under *Registration* set *Use email verification:yes*. fill the other fields appropriately.
71
72 1.1.1 Private Wiki with token
73
74 TODO
75
76
77 1.1 Enabling/Disabling Statistics
78
79 To disable [the Statistics feature>code:Applications.StatisticsApplication], edit your ~~xwiki.cfg~~ file and replace the following properties as shown here:
80 {code:xml}
81 xwiki.stats=0
82 xwiki.stats.default=0
83 {code}
84
85 where:
86
87 * ~~xwiki.stats~~ controls whether Statistics are on or off
88 * ~~xwiki.stats.default~~ controls whether Statistics are on or off by default for the current Wiki. This is useful in [Virtual Wiki mode>AdminGuide.Virtualization]. A wiki can decide whether Statistics is on/off by setting the "statistics" field in XWiki.XWikiPreferences. If no such field is defined the the default value ~~xwiki.stats.default~~ is used.
89
90 To enable Statistics, change "0" to "1".
91
92 1.1 Optional Store Features
93
94 XWiki stores all document attachment versions by default. This is very memory consuming (both RAM and HDD).
95 If you need only latest versions of attachments, you can disable attachment version control by editing your ~~xwiki.cfg~~ and adding:
96 {code:xml}
97 xwiki.store.attachment.versioning=0
98 {code}
99
100
101 1.1 Customizing the Skin
102
103 See the [Skin Guide>AdminGuide.Skins].
104
105 1.1 Security configuration
106
107 See the [Security Guide>AdminGuide.Security].
108
109 1.1 Customizing Menus
110
111 The first thing to understand is that menus depend on the skin you're using. If you're using the 1.0 skin it's likely you're using the [Panels Application>code:Applications.PanelsApplication] to provide the different menu panels you see on the left or right of your wikis. Check the [Panels Application>code:Applications.PanelsApplication] to know more on how to configure/modify them.
112
113 1.1 Encoding
114
115 See the [Encoding Guide>AdminGuide.Encoding].
116
117 1.1 User Authentication
118
119 See the [Authentication Guide>AdminGuide.Authentication].
120
121 1.1 Customizing the registration page
122
123 The default registration page is defined as a template on the file system (named <tt>registerinline.vm</tt>). However it's possible to easily override it by creating a page named <tt>XWiki.Registration</tt>.
124
125 See [more details about configuring the registration page>AdminGuide.User Management#HCustomizingtheRegistrationpage].
126 1.1 Logging
127
128 See the [Logging page>Logging].
129
130 1.1 Configuring Interwiki links
131
132 [Interwiki linking>http://en.wikipedia.org/wiki/InterWiki] is a short hand syntax for linking to pages on other websites. For example, you could link to http://en.wikipedia.org/wiki/InterWiki just by typing \[InterWiki@WikiPedia\].
133
134 Since XWiki renders wiki syntax using the [Radeox>http://radeox.org] engine, it supports Interwiki links in [much the same way as SnipSnap>http://snipsnap.org/space/InterWiki+HowTo].
135
136 To configure Interwiki links on your wiki:
137
138 * Create a file named <tt>\[location from where you start your container\]/conf/*intermap.txt*</tt>
139 * Fill <tt>intermap.txt</tt> with content like:
140 {code}
141 IMDB http://us.imdb.com/Title?
142 OpenWiki http://openwiki.com/?
143 SourceForge http://sourceforge.net/
144 TWiki http://twiki.org/cgi-bin/view/
145 Why http://clublet.com/c/c/why?
146 Wiki http://c2.com/cgi/wiki?
147 WikiPedia http://www.wikipedia.com/wiki/
148 {code}
149
150 You can of course add your own entries.
151
152 * Note that Radeox's parser for intermap.txt is [very fragile>http://snipforge.org/jira/browse/RADEOX-49]. A blank line at the bottom of the file is enough to make it fall over.
153 * Restart XWiki (you'll need to restart XWiki every time you change <tt>intermap.txt</tt>) and try out an Interwiki link.
154 * If it does not work, check your <tt>xwiki.log</tt> file. You'll see if <tt>conf/intermap.txt</tt> could not be found, or if there was an error parsing it.
155
156 1.1 Setting the default editor to use (Wiki or WYSIWYG)
157
158 Go the Administration screen, then click on the "General" icon and select the default editor to use, as shown on the following screenshot:
159
160 {image:defaulteditor.png}
161
162 1.1 Short URLs
163
164 It's possible to [configure XWiki so that is uses shorter URLs>Main.ShortURLs].
165
166 1.1 Configure the names of database schemas (since 1.6M1)
167
168 Sometimes, especially in enterprise environment, we need control names of database schemes, other than default.
169
170 * xwiki.db -- name of database scheme of main wiki.
171 * xwiki.db.prefix -- usefull mainly for [virtual wikies>Virtualization], where we have database scheme for each virtual wiki. This prefix is added to database scheme name after usual mapping between wiki names and schemes.
172
173 1.1 Turning off comments or attachments
174
175 You need to change the XWiki.XWikiPreferences class like this:
176
177 * Go to <tt>\<server\>/xwiki/bin/edit/XWiki/XWikiPreferences?editor=class</tt>
178 * Add a new property called <tt>showcomments</tt> (or <tt>showattachments</tt> for turning off attachments) of type String Class
179 * Go to <tt>\<server\>/xwiki/bin/edit/XWiki/XWikiPreferences?editor=object&classname=XWiki.XWikiPreferences</tt> and write no in the <tt>showcomments</tt> (or <tt>showattachments</tt>) field
180
181 That's it, the comments (or attachments) are gone. If you want to re-enable them, replace the "no" value with "yes".
182
183 1.1 Configure edit comment behavior
184
185 When page editing you can add a comment of changes in special comment field by default (Look at [Features.PageEditing#HCommoneditactions]).
186 You can disable this feature by set ~~xwiki.editcomment=0~~ in ~~xwiki.cfg~~.
187
188 When edit comment feature is enabled, you also can set edit comment mandatory by set ~~xwiki.editcomment.mandatory=1~~ in ~~xwiki.cfg~~. This will show popup window with the request to set edit comment if there is no comment entered. It doesn't allow to set empty comment.
189 If you want a popup, but want to be able to set empty edit comment, set ~~xwiki.editcomment.suggested=1~~ in ~~xwiki.cfg~~
190
191 If you set edit comment as mandatory or suggested, you can also remove comment field from page editing form and use only popup window for set edit comment. Set ~~xwiki.editcomment.hidden=0~~ in ~~xwiki.cfg~~ to do this.
192
193 You can use the special fields in ~~XWikiPreferences~~ object instead of edit ~~xwiki.cfg~~.
194 These fields are: ~~editcomment~~, ~~editcomment_mandatory~~, ~~editcomment_suggested~~ and ~~editcomment_hidden~~.
195
196 1.1 Configuring the SMTP server
197
198 If you're planning to use XWiki's feature that send emails you'll need to configure the SMTP server used and the email address under which XWiki will send emails.
199
200 To configure these go to the Administration page (<tt>http://\<server\>/xwiki/bin/admin/XWiki/XWikiPreferences</tt>), click on the "general" icon and modify the <tt>Admin email</tt> field to set the email under which XWiki emails will be sent and modify the <tt>Outgoing SMTP Server</tt> field to set the SMTP server to use, as shown on the figure below.
201
202 {image:emailconfiguration.png}
203
204 #warning("Now xwiki can't configure password for SMTP user. Hence, you should use a SMTP server without password Authentication.")
205
206 1.1 Configuring WebDAV (since 1.7)
207
208 WebDAV support has been added to XWiki beginning from XWiki Enterprise 1.7. It is very important to note that WebDAV is enabled by default.
209
210 1.1.1 Securing WebDAV Server
211
212 XWiki's WebDAV implementation only supports [Basic Access Authentication>http://en.wikipedia.org/wiki/Basic_access_authentication] scheme for authenticating WebDAV clients. Because of this reason it is highly recommended that you employ a transport level security mechanism like SSL to protect your clients. You may consult your web application container's documentation to see how this can be achieved.
213
214 1.1.1 Disabling WebDAV
215
216 To disable WebDAV support in your XWiki server, simply edit your web.xml file and remove the url-mapping element for mapping webdav requests. The url-mapping element for WebDAV looks something like:
217
218 {code}
219 <servlet-mapping>
220 <servlet-name>webdav</servlet-name>
221 <url-pattern>/webdav/*</url-pattern>
222 </servlet-mapping>
223 {code}
224
225
226
227 1.1 Redirections
228
229 XWiki supports defining redirections for incoming requests. To activate this feature modify your <tt>xwiki.cfg</tt> file and set the following property:
230 {code:none}
231 xwiki.preferences.redirect=1
232 {code}
233
234 Then for each redirection you want to add, add a <tt>XWiki.GlobalRedirect</tt> object to your main wiki's <tt>XWiki.XWikiPreferences</tt> document. The <tt>XWiki.GlobalRedirect</tt> object has 2 fields: <tt>pattern</tt> and <tt>destination</tt>. The URL received is matched on <tt>pattern</tt> and if there's a match it's replaced with the value from <tt>destination</tt>. XWiki then redirects to the new URL.
235
236 1.1 Customizing the PDF export Look & Feel
237
238 #info("A new rendering subsystem is on its way, so things could change in the following few months. You may want keep an eye on [the new rendering architecture page>http://dev.xwiki.org/xwiki/bin/view/Design/NewRenderingArchitecture>new].")
239
240 Here's how the PDF and RTF exports currently work:
241
242 {image:XWikiExport200805192259.png}
243
244 As shown in the diagram you can customize 3 parts:
245 * The CSS used to render the content as PDF/RTF
246 * The XHTML2FO XSL transformation
247 * The FOP XSL transformation
248
249 In order to provide your own customization you need to start by creating a new [XWiki Class>platform:DevGuide.DataModel]. To do that simply create a new page and edit it in Class mode (for ex: <tt>http:/yourserver.com/xwiki/bin/edit/XWiki/PDFClass?editor=class</tt>). Add the following Text Area properties as needed (they are all optional so you only need to define the ones you need to use):
250 * <tt>style</tt>: contains the CSS information that will be overriding the default <tt>pdf.css</tt> values.
251 * <tt>xhtmlxsl</tt>: contains the XHTML to FO XSL overriding the default one.
252 * <tt>fopxsl</tt>: contains the FOP to PDF/RTF XSL overriding the default one.
253
254 Then create a new page (say <tt>XWiki.PDFTemplate</tt>) and add the <tt>XWiki.PDFClass</tt> object to it.
255
256 Last use that page when calling the PDF/RTF export using the <tt>pdftemplate</tt> parameter as in <tt>http://yourserver/xwiki/bin/export/Space/Page?format=pdf&language=en&pdftemplate=XWiki.PDFTemplate</tt>.
257
258 #warning("As mentioned the <tt>style</tt> property stores CSS code. Don't add blank line between the rules. The field is parsed and rendered, so a blank line causes a paragraph to appear there, which breaks the CSS. You must use this... {code}
259 h2 {
260 margin-left: 2cm;
261 margin-bottom: 1cm;
262 color: red;
263 }
264 h3 {
265 margin: 3cm;
266 color: yellow;
267 }
268 {code} And not... {code}
269 h2 {
270 margin-left: 2cm;
271 margin-bottom: 1cm;
272 color: red;
273 }
274
275 h3 {
276 margin: 3cm;
277 color: yellow;
278 }
279 {code}")
280
281 #info("Even though RTF export is expected to work the same way, there are still some isues to be solved affecting how CSS properties control the final layout.")
282
283 1.1 Configuring Wiki Syntaxes
284
285 Starting with XWiki Enterprise 1.6 and above it's possible to configure the [Wiki syntaxes>platform:Main.XWikiSyntax] that are available to the user. To do so edit the <tt>xwiki.cfg</tt> file and configure the <tt>xwiki.rendering.syntaxes</tt> property. It's a comma-separated list of syntax ids. For example:
286
287 {code}
288 xwiki.rendering.syntaxes = xwiki/1.0, xwiki/2.0, confluence/1.0, jspwiki/1.0, creole/1.0, mediawiki/1.0, xhtml/1.0, twiki/1.0
289 {code}
290
291 1.1 Sample xwiki.cfg
292
293 {code}
294 xwiki.base=../../
295
296 xwiki.store.class=com.xpn.xwiki.store.XWikiHibernateStore
297 xwiki.store.hibernate.path=/WEB-INF/hibernate.cfg.xml
298 xwiki.store.hibernate.updateschema=1
299 xwiki.store.hibernate.custommapping=1
300 xwiki.store.cache=1
301 xwiki.store.cache.capacity=100
302 xwiki.store.migration=1
303
304 xwiki.monitor=1
305
306 # List of active plugins.
307 xwiki.plugins=\
308 com.xpn.xwiki.monitor.api.MonitorPlugin,\
309 com.xpn.xwiki.plugin.calendar.CalendarPlugin,\
310 com.xpn.xwiki.plugin.skinx.JsSkinExtensionPlugin,\
311 com.xpn.xwiki.plugin.skinx.CssSkinExtensionPlugin,\
312 com.xpn.xwiki.plugin.feed.FeedPlugin,\
313 com.xpn.xwiki.plugin.ldap.LDAPPlugin,\
314 com.xpn.xwiki.plugin.google.GooglePlugin,\
315 com.xpn.xwiki.plugin.flickr.FlickrPlugin,\
316 com.xpn.xwiki.plugin.mail.MailPlugin,\
317 com.xpn.xwiki.plugin.packaging.PackagePlugin,\
318 com.xpn.xwiki.plugin.query.QueryPlugin,\
319 com.xpn.xwiki.plugin.svg.SVGPlugin,\
320 com.xpn.xwiki.plugin.charts.ChartingPlugin,\
321 com.xpn.xwiki.plugin.fileupload.FileUploadPlugin,\
322 com.xpn.xwiki.plugin.image.ImagePlugin,\
323 com.xpn.xwiki.plugin.captcha.CaptchaPlugin,\
324 com.xpn.xwiki.plugin.userdirectory.UserDirectoryPlugin,\
325 com.xpn.xwiki.plugin.usertools.XWikiUserManagementToolsImpl,\
326 com.xpn.xwiki.plugin.zipexplorer.ZipExplorerPlugin,\
327 com.xpn.xwiki.plugin.autotag.AutoTagPlugin,\
328 com.xpn.xwiki.plugin.lucene.LucenePlugin,\
329 com.xpn.xwiki.plugin.diff.DiffPlugin,\
330 com.xpn.xwiki.plugin.rightsmanager.RightsManagerPlugin,\
331 com.xpn.xwiki.plugin.jodatime.JodaTimePlugin,\
332 com.xpn.xwiki.plugin.scheduler.SchedulerPlugin,\
333 com.xpn.xwiki.plugin.mailsender.MailSenderPlugin,\
334 com.xpn.xwiki.plugin.watchlist.WatchListPlugin, \
335 com.xpn.xwiki.wysiwyg.server.plugin.WysiwygPlugin
336
337 # [Since 1.6RC1] Defines the list of supported syntaxes
338 # Available syntaxes are:
339 # xwiki/1.0, xwiki/2.0, confluence/1.0, jspwiki/1.0, creole/1.0,
340 # mediawiki/1.0, xhtml/1.0, twiki/1.0
341 xwiki.rendering.syntaxes = xwiki/1.0, xwiki/2.0, confluence/1.0, jspwiki/1.0, creole/1.0, mediawiki/1.0, xhtml/1.0, twiki/1.0
342
343 # This parameter allows XWiki to operate in Hosting mode allowing to create
344 # multiple wikis having their own database and responding to different URLs
345 xwiki.virtual=0
346
347 xwiki.virtual.redirect=http://127.0.0.1:9080/xwiki/bin/Main/ThisWikiDoesNotExist
348
349 # This parameter will activate the eXo Platform integration
350 xwiki.exo=0
351
352 xwiki.authentication=form
353 xwiki.authentication.validationKey=totototototototototototototototo
354 xwiki.authentication.encryptionKey=titititititititititititititititi
355 xwiki.authentication.cookiedomains=xwiki.com,wiki.fr
356
357 # This allows logout to happen for any page going through the /logout/ action, regardless of the document or the servlet.
358 # Comment-out if you want to enable logout only for /bin/logout/XWiki/XWikiLogout
359 xwiki.authentication.logoutpage=(/[^/]+/|/)logout/*
360
361 # Stats configuration allows to globally activate/deactivate stats module (launch storage thread, register events...)
362 xwiki.stats=1
363 # When statistics are globally enabled, storage can be enabled/disabled by wiki using the XWikiPreference property "statistics".
364 # Note: Statistics are disabled by default for improved performances/space.
365 xwiki.stats.default=0
366 # It is also possible to choose a different stats service to record statistics separately from XWiki.
367 xwiki.stats.class=com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl
368
369 xwiki.encoding=ISO-8859-1
370
371 xwiki.backlinks=1
372
373 xwiki.tags=1
374
375 # Use edit comments
376 xwiki.editcomment=1
377
378 # Hide editcomment field and only use Javascript
379 xwiki.editcomment.hidden=0
380
381 # Make edit comment mandatory
382 xwiki.editcomment.mandatory=0
383
384 # Make edit comment suggested (asks 1 time if the comment is empty.
385 # 1 shows one popup if comment is empty.
386 # 0 means there is no popup.
387 # This setting is ignored if mandatory is set
388 xwiki.editcomment.suggested=0
389
390 # GraphViz plugin configuration. The GraphViz plugin is not configured by default.
391 # To enable it, add "com.xpn.xwiki.plugin.graphviz.GraphVizPlugin" to the list of plugins
392 # in the xwiki.plugins property.
393 # Uncomment and set the locations of the Dot and Neato executables
394 #xwiki.plugin.graphviz.dotpath=c:/Program Files/ATT/GraphViz/bin/dot.exe
395 #xwiki.plugin.graphviz.neatopath=c:/Program Files/ATT/GraphViz/bin/neato.exe
396
397 xwiki.plugin.laszlo.baseurl=/openlaszlo/xwiki/
398 xwiki.plugin.laszlo.path=c:/Program Files/Apache Software Foundation/Tomcat 5.0/webapps/openlaszlo/xwiki/
399
400 xwiki.plugin.image.cache.capacity=30
401
402 xwiki.plugin.captcha=0
403
404
405 # Enable to allow superadmin. It is disabled by default as this could be a security breach if
406 # it were set and you forgot about it.
407 #xwiki.superadminpassword=system
408
409 #-------------------------------------------------------------------------------------
410 # LDAP
411 #-------------------------------------------------------------------------------------
412
413 #-# new LDAP authentication service
414 # xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
415
416 #-# Turn LDAP authentication on - otherwise only XWiki authentication
417 #-# 0: disable
418 #-# 1: enable
419 # xwiki.authentication.ldap=1
420
421 #-# LDAP Server (Active Directory, eDirectory, OpenLDAP, etc.)
422 xwiki.authentication.ldap.server=127.0.0.1
423 xwiki.authentication.ldap.port=389
424
425 #-# LDAP login, empty = anonymous access, otherwise specify full dn
426 #-# {0} is replaced with the username, {1} with the password
427 xwiki.authentication.ldap.bind_DN=cn={0},department=USER,department=INFORMATIK,department=1230,o=MP
428 xwiki.authentication.ldap.bind_pass={1}
429
430 #-# Force to check password after LDAP connection
431 #-# 0: disable
432 #-# 1: enable
433 xwiki.authentication.ldap.validate_password=0
434
435 #-# only members of the following group will be verified in the LDAP
436 #-# otherwise only users that are found after searching starting from the base_DN
437 # xwiki.authentication.ldap.user_group=cn=developers,ou=groups,o=MegaNova,c=US
438
439 #-# [Since 1.5RC1, XWikiLDAPAuthServiceImpl]
440 #-# only users not member of the following group can autheticate
441 # xwiki.authentication.ldap.exclude_group=cn=admin,ou=groups,o=MegaNova,c=US
442
443 #-# base DN for searches
444 xwiki.authentication.ldap.base_DN=
445
446 #-# Specifies the LDAP attribute containing the identifier to be used as the XWiki name (default=cn)
447 # xwiki.authentication.ldap.UID_attr=cn
448
449 #-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
450 #-# Specifies the LDAP attribute containing the password to be used "when xwiki.authentication.ldap.validate_password" is set to 1
451 # xwiki.authentication.ldap.password_field=userPassword
452
453 #-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
454 #-# The potential LDAP groups classes. Separated by commas.
455 # xwiki.authentication.ldap.group_classes=group,groupOfNames,groupOfUniqueNames,dynamicGroup,dynamicGroupAux,groupWiseDistributionList
456
457 #-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
458 #-# The potential names of the LDAP groups fields containings the members. Separated by commas.
459 # xwiki.authentication.ldap.group_memberfields=member,uniqueMember
460
461 #-# retrieve the following fields from LDAP and store them in the XWiki user object (xwiki-attribute=ldap-attribute)
462 #-# ldap_dn=dn -- dn is set by class, caches dn in XWiki.user object for faster access
463 xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
464
465 #-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
466 #-# on every login update the mapped attributes from LDAP to XWiki otherwise this happens only once when the XWiki account is created.
467 xwiki.authentication.ldap.update_user=1
468
469 #-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
470 #-# mapps XWiki groups to LDAP groups, separator is "|"
471 # xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=cn=AdminRole,ou=groups,o=MegaNova,c=US|\
472 # XWiki.Organisation=cn=testers,ou=groups,o=MegaNova,c=US
473
474 #-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
475 #-# time in s after which the list of members in a group is refreshed from LDAP (default=3600*6)
476 # xwiki.authentication.ldap.groupcache_expiration=21800
477
478 #-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
479 #-# - create : synchronize group membership only when the user is first created
480 #-# - always: synchronize on every login
481 # xwiki.authentication.ldap.mode_group_sync=always
482
483 #-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
484 #-# if ldap authentication fails for any reason, try XWiki DB authentication with the same credentials
485 xwiki.authentication.ldap.trylocal=1
486
487 #-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
488 #-# SSL connection to LDAP server
489 #-# 0: normal
490 #-# 1: SSL
491 # xwiki.authentication.ldap.ssl=0
492
493 #-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
494 #-# The keystore file to use in SSL connection
495 # xwiki.authentication.ldap.ssl.keystore=
496
497 #-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
498 #-# The java secure provider used in SSL connection
499 # xwiki.authentication.ldap.ssl.secure_provider=com.sun.net.ssl.internal.ssl.Provider
500
501 #-------------------------------------------------------------------------------------
502 # Cache
503 #-------------------------------------------------------------------------------------
504
505 #-# [Since 1.5M2]
506 #-# The cache component implementation to use as "normal" (can be local or distributed depending on the implementation)
507 #-# cache component.
508 # xwiki.cache.cachefactory.hint=jbosscache
509
510 #-# [Since 1.5M2]
511 #-# The cache component to use as local cache component.
512 # xwiki.cache.cachefactory.local.hint=jbosscache/local
513
514 #-------------------------------------------------------------------------------------
515
516
517 xwiki.authentication.unauthorized_code=200
518
519 # This parameter will activate the sectional editing
520 xwiki.section.edit=1
521
522 # Uncomment if you want to ignore requests for unmapped actions, and simply display the document
523 # xwiki.unknownActionResponse=view
524
525
526 # You can configure the toolbars you wish to see in the WYSIWYG editor by defining the
527 # xwiki.wysiwyg.toolbars property.
528 # When not defined it defaults to:
529 # xwiki.wysiwyg.toolbars=texttoolbar, listtoolbar, indenttoolbar, undotoolbar, titletoolbar, \
530 # styletoolbar, horizontaltoolbar, attachmenttoolbar, macrostoolbar, \
531 # tabletoolbar, tablerowtoolbar, tablecoltoolbar, linktoolbar
532 # The full list of toolbars includes the one defined above and the following ones:
533 # subtoolbar, findtoolbar, symboltoolbar
534
535
536 xwiki.defaultskin=toucan
537 xwiki.defaultbaseskin=albatross
538
539 # Calendar Prev/Next Month bounds.
540 # The calendar generates links to the previous/next months for a limited range, by default 6 months back and 12 months after.
541 # A value of 0 means that there is no limit in that direction.
542 # xwiki.calendar.bound.prev=6
543 # xwiki.calendar.bound.next=12
544
545 # xwiki.temp.dir=/tmp/xwiki
546 # xwiki.work.dir=/usr/local/xwiki
547
548 # xwiki.plugins.lucene.indexdir=/usr/local/xwiki/lucene
549 # xwiki.plugins.lucene.analyzer=org.apache.lucene.analysis.standard.StandardAnalyzer
550 # xwiki.plugins.lucene.indexinterval=20
551
552 #-# [Since 1.6M1]
553 #-# Force the database name for the main wiki in virtual mode and for the wiki itself in non virtual mode
554 # xwiki.db=xwiki
555
556 #-# [Since 1.6M1]
557 #-# Add a prefix to all databases names of the wikis in virtual mode and to the wiki name in non virtual mode
558 # xwiki.db.prefix=
559
560 xwiki.work.dir=work
561 {code}

Get Connected