Wiki source code of Paramétrage du fichier digdash.properties
Last modified by Aurelie Bertrand on 2025/02/07 10:19
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | (% class="box infomessage" %) | ||
2 | ((( | ||
3 | If you are on Linux, copy the **digdash.properties **file located in the **<install_dd_NEW>** folder to the** /etc/digdash **folder. | ||
4 | It will be found automatically by the server. | ||
5 | Make sure that folders and files have the same rights as the user running the Tomcat service. | ||
6 | ))) | ||
7 | |||
8 | To configure the digdash.properties file : | ||
9 | |||
10 | Edit the file **<install_dd_NEW>/digdash.properties **and change parameters as indicated in the following paragraphs. | ||
11 | |||
12 | Note that lines starting with a single # character are the ones to edit. | ||
13 | Removing the # character at the start of a line enables the setting. | ||
14 | |||
15 | ==== Data location ==== | ||
16 | |||
17 | When configuring pay special attention to the digdash.appdata or <application>.AppDataPath settings. | ||
18 | The ideal is to use the global setting digdash.appdata: all applications will then use the same root folder. | ||
19 | |||
20 | To specify a location common to all DigDash applications (ldap, server, Studio, etc.), you must modify the **digdash.appdata **parameter. | ||
21 | |||
22 | {{code}} | ||
23 | #digdash.appdata=/home/digdash/appdata | ||
24 | |||
25 | {{/code}} | ||
26 | |||
27 | becomes : | ||
28 | |||
29 | {{code}} | ||
30 | digdash.appdata=/home/digdash/appdata | ||
31 | {{/code}} | ||
32 | |||
33 | (% class="box warningmessage" %) | ||
34 | ((( | ||
35 | Be careful to only use slashes "/", or two backslashes "~\~\". | ||
36 | ))) | ||
37 | |||
38 | Pay attention to the LDAP directory data folder. This is the ldapdigdash folder (if you hadn't changed it). | ||
39 | |||
40 | * If you use the global parameter **digdash.appdata** then you will need to move your old **ldapdigdash **folder into the folder specified in this parameter. | ||
41 | * If you want to continue placing the **ldapdigdash **folder in another location, use the **adswrapper.ads.instance.name **parameter. | ||
42 | |||
43 | (% class="box warningmessage" %) | ||
44 | ((( | ||
45 | All applications in the same folder (same LDAP): | ||
46 | digdash.appdata=/home/digdash/appdata | ||
47 | ))) | ||
48 | |||
49 | (% class="box warningmessage" %) | ||
50 | ((( | ||
51 | For a separate LDAP folder: | ||
52 | adswrapper.ads.instance.name=/home/digdash/appdata/ | ||
53 | ))) | ||
54 | |||
55 | ==== Other parameters ==== | ||
56 | |||
57 | All other parameters present in this file are prefixed with the name of the relative application: | ||
58 | |||
59 | (% class="box infomessage" %) | ||
60 | ((( | ||
61 | <application name>.<parameter name>=<value> | ||
62 | ))) | ||
63 | |||
64 | You must therefore carry over all the settings that you had modified in the **web.xml** files of your old installation. | ||
65 | |||
66 | For example, to modify the authentication method (**authMethod**) on the Dashboard (**digdash_dashboard.war**) you must modify the parameter **digdash_dashboard.authMethod**. | ||
67 | |||
68 | {{code}} | ||
69 | #digdash_dashboard.authMethod=default/NTUser/NTUserOrLDAP/NTUserOrLDAP,loginForm/Custom | ||
70 | {{/code}} | ||
71 | |||
72 | becomes : | ||
73 | |||
74 | {{code}} | ||
75 | digdash_dashboard.authMethod=default/NTUser/NTUserOrLDAP/NTUserOrLDAP,loginForm/Custom | ||
76 | {{/code}} |