Revision 6857
Added by Matt Jones almost 13 years ago
docs/dev/metacat/source/metacat-properties.rst | ||
---|---|---|
1 | 1 |
Appendix: Metacat Properties |
2 | 2 |
============================ |
3 |
The most dynamic Metacat Properties are managed using Metacat's Configuration |
|
4 |
Interface (see :doc:`configuration`). These properties, as well as other, |
|
5 |
rarely modified ones can be found in the metacat.properties file. For more |
|
6 |
information about the properties, click one of the following: |
|
3 | 7 |
|
4 |
Under construction! |
|
8 |
* Server Properties |
|
9 |
* Application Properties |
|
10 |
* Database Properties |
|
11 |
* Authorization and Authentication Properties |
|
12 |
* XML/EML Properties |
|
5 | 13 |
|
6 |
Heading 1 |
|
7 |
------------ |
|
14 |
Server Properties |
|
15 |
----------------- |
|
16 |
All of Metacat's server properties are managed with the form-based |
|
17 |
configuration utility, though they can also be accessed More information on |
|
18 |
each is included below. |
|
8 | 19 |
|
9 |
Heading 2 |
|
10 |
------------ |
|
11 | 20 |
|
21 |
Metacat Server Properties |
|
22 |
|
|
23 |
+--------------------+------------------------------------------------------------------------------------------+------------------------+ |
|
24 |
| Property | Description | Example | |
|
25 |
+====================+==========================================================================================+========================+ |
|
26 |
| server.name | The network host name used to access Metacat. Note that this is not necessarily | knb.ecoinformatics.org | |
|
27 |
| | the physical name of the server running Metacat. The host name should not | | |
|
28 |
| | include the protocol prefix (http://). | | |
|
29 |
| | | | |
|
30 |
| | Default Value: localhost | | |
|
31 |
+--------------------+------------------------------------------------------------------------------------------+------------------------+ |
|
32 |
| server.httpPort | The network port used to access Metacat for non-secure (standard) connections. | 80 | |
|
33 |
| | This is usually 80 if Apache Web server is running, and 8080 if Tomcat is running alone. | | |
|
34 |
| | | | |
|
35 |
| | Default Value: 80 | | |
|
36 |
+--------------------+------------------------------------------------------------------------------------------+------------------------+ |
|
37 |
| server.httpSSLPort | The network port used to access Metacat for secure connections. This is usually | 443 | |
|
38 |
| | 443 if Apache Web server is running, and 8443 if Tomcat is running alone. | | |
|
39 |
| | | | |
|
40 |
| | Default Value: 443 | | |
|
41 |
+--------------------+------------------------------------------------------------------------------------------+------------------------+ |
|
42 |
|
|
43 |
Application Properties |
|
44 |
---------------------- |
|
45 |
|
|
46 |
Metacat's application properties are described below. Properties that can only |
|
47 |
be edited manually in the ``metacat.properties`` file are highlighted. All |
|
48 |
others are managed with the properties configuration utility. |
|
49 |
|
|
50 |
+--------------------------------+-----------------------------------------------------------------------------+-------------------------------+ |
|
51 |
| Property | Description | Example | |
|
52 |
+================================+=============================================================================+===============================+ |
|
53 |
| application.metacatVersion | The Metacat version number. It is set by the build engineer | 1.9.0 | |
|
54 |
| | at build time. Usually, the value should never be changed. | | |
|
55 |
| | | | |
|
56 |
| | Default Value: X.X.X (where X.X.X is the current version of Metacat) | | |
|
57 |
+--------------------------------+-----------------------------------------------------------------------------+-------------------------------+ |
|
58 |
| application.metacatReleaseInfo | Release information for display purposes. Typically the property | Release Candidate 1 | |
|
59 |
| | is set during the release candidate cycle to let users know which | | |
|
60 |
| | candidate they are downloading. | | |
|
61 |
+--------------------------------+-----------------------------------------------------------------------------+-------------------------------+ |
|
62 |
| application.deployDir | The directory where Web applications are deployed. Usually, the value | /usr/local/tomcat/webapps | |
|
63 |
| | is a directory named "webapps" in the Tomcat installation directory. | | |
|
64 |
+--------------------------------+-----------------------------------------------------------------------------+-------------------------------+ |
|
65 |
| application.context | The name of the Metacat application directory in | knb | |
|
66 |
| | the deployment directory. This corresponds to the first part of the | | |
|
67 |
| | WAR file name (the part before .war). Most commonly, this | | |
|
68 |
| | is "knb", but it can be changed to other things. | | |
|
69 |
+--------------------------------+-----------------------------------------------------------------------------+-------------------------------+ |
|
70 |
| application.default-style | A custom Metacat Web skin usually associated with | default | |
|
71 |
| | an organizational theme. If your organization has no | | |
|
72 |
| | custom skin, leave the value as "default". | | |
|
73 |
+--------------------------------+-----------------------------------------------------------------------------+-------------------------------+ |
|
74 |
| application.knbSiteURL | The main KNB website. | http://knb.ecoinformatics.org | |
|
75 |
| | | | |
|
76 |
| | Default Value: http://knb.ecoinformatics.org | | |
|
77 |
+--------------------------------+-----------------------------------------------------------------------------+-------------------------------+ |
|
78 |
| application.datafilepath | The directory in which to store data files. The directory should | /var/metacat/data | |
|
79 |
| | be outside the Metacat installation directories so data files will not | | |
|
80 |
| | be lost when Metacat is upgraded. The data file directory must be | | |
|
81 |
| | writable by the user that starts Tomcat (and thus Metacat). | | |
|
82 |
| | | | |
|
83 |
| | Default Value: /var/metacat/data | | |
|
84 |
+--------------------------------+-----------------------------------------------------------------------------+-------------------------------+ |
|
85 |
| application.inlinedatafilepath | The directory where inline data files will be stored. Inline | /var/metacat/inline-data | |
|
86 |
| | data files are created from data that is embedded in EML | | |
|
87 |
| | metadata. The directory should be outside the Metacat installation | | |
|
88 |
| | directories so data files will not be lost when Metacat is upgraded. | | |
|
89 |
| | For clarity of data, this should probably not be the same as | | |
|
90 |
| | ``application.datafilepath``. The data file directory must be | | |
|
91 |
| | writable by the user that starts Tomcat (and thus Metacat). | | |
|
92 |
| | | | |
|
93 |
| | Default Value: /var/metacat/inline-data | | |
|
94 |
+--------------------------------+-----------------------------------------------------------------------------+-------------------------------+ |
|
95 |
| application.documentfilepath | The directory where metadata files will be stored. | /var/metacat/documents | |
|
96 |
| | The directory should be outside the Metacat installation directories | | |
|
97 |
| | so document files will not be lost when Metacat is upgraded. For | | |
|
98 |
| | clarity of organization, this should probably not be the same as | | |
|
99 |
| | ``application.datafilepath`` or ``application.inlinedatafilepath``. | | |
|
100 |
| | The data file directory must be writable by the user that | | |
|
101 |
| | starts Tomcat (and thus Metacat). | | |
|
102 |
| | | | |
|
103 |
| | Default Value: /var/metacat/documents | | |
|
104 |
+--------------------------------+-----------------------------------------------------------------------------+-------------------------------+ |
|
105 |
| application.tempDir | The directory where the Metacat data registry stores temporary | /var/metacat/temporary | |
|
106 |
| | files. The directory should not be the same as ``application.datafilepath`` | | |
|
107 |
| | or ``application.inlinedatafilepath`` (or any other persistent file path) | | |
|
108 |
| | because all files in this may be purged programmatically. The temporary | | |
|
109 |
| | file directory must be writable by the user that starts Apache. | | |
|
110 |
| | | | |
|
111 |
| | Default Value: /var/metacat/temporary | | |
|
112 |
+--------------------------------+-----------------------------------------------------------------------------+-------------------------------+ |
|
113 |
|
|
114 |
Database Properties |
|
115 |
------------------- |
|
116 |
Metacat's database properties are described next. Properties that can only be |
|
117 |
edited manually in the metacat.properties file are highlighted. All others |
|
118 |
are managed with the properties configuration utility. |
|
119 |
|
|
120 |
Metacat Database Properties |
|
121 |
|
|
122 |
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ |
|
123 |
| Property | Description | Example | |
|
124 |
+============================================+==========================================================================================================+=========================================================+ |
|
125 |
| database.connectionURI | The JDBC connection URI for the main database instance of Metacat. | ``jdbc:postgresql://yourserver.yourdomain.edu/metacat`` | |
|
126 |
| | The URI is formatted like: ``jdbc:<database_type>:thin@<your_server_name>:1521:<metacat_database_name>`` | | |
|
127 |
| | NOTE: You must create an empty database prior to initial Metacat configuration. | | |
|
128 |
| | | | |
|
129 |
| | Default Value: jdbc:postgresql://localhost/metacat | | |
|
130 |
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ |
|
131 |
| database.user | The user for the main database instance of Metacat. The user must | metacat-user | |
|
132 |
| | have already been created on the database. | | |
|
133 |
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ |
|
134 |
| database.password | The password of the user for the main database instance of Metacat. | securepassword4843 | |
|
135 |
| | The password must have already been created for the user. | | |
|
136 |
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ |
|
137 |
| database.type | The type of database you are running. Currently, there are two supported | postgres | |
|
138 |
| | types, Oracle and Postgres. | | |
|
139 |
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ |
|
140 |
| database.driver | The JDBC driver to be used to access the main database instance of Metacat. | org.postgresql.Driver | |
|
141 |
| | There is one driver associated with each type of database. | | |
|
142 |
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ |
|
143 |
| database.adapter | The adapter class that allows Metacat to access your database type. | edu.ucsb.nceas.dbadapter.PostgresqlAdapter | |
|
144 |
| | There is one adapter associated with each type of database. | | |
|
145 |
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ |
|
146 |
| database.scriptsuffix.<database_type> | The script suffix tells the system which database scripts to run | postgres.sql | |
|
147 |
| | (postgres or oracle) when installing or updating database schema. | | |
|
148 |
| | | | |
|
149 |
| | Default Values: | | |
|
150 |
| | database.scriptsuffix.postgres=postgres.sql | | |
|
151 |
| | database.scriptsuffix.oracle=oracle.sql | | |
|
152 |
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ |
|
153 |
| database.upgradeVersion.<database_version> | Which database scripts to run when updating database schema. There is a | upgrade-db-to-1.2 | |
|
154 |
| | database.upgradeVersion entry for every Metacat database schema version. | | |
|
155 |
| | Each schema version corresponds to an application version. | | |
|
156 |
| | | | |
|
157 |
| | Default Values: | | |
|
158 |
| | database.upgradeVersion.0.0.0=xmltables,loaddtdschema | | |
|
159 |
| | database.upgradeVersion.1.2.0=upgrade-db-to-1.2 | | |
|
160 |
| | database.upgradeVersion.1.3.0=upgrade-db-to-1.3 | | |
|
161 |
| | database.upgradeVersion.1.4.0=upgrade-db-to-1.4 | | |
|
162 |
| | database.upgradeVersion.1.5.0=upgrade-db-to-1.5 | | |
|
163 |
| | database.upgradeVersion.1.6.0=upgrade-db-to-1.6 | | |
|
164 |
| | database.upgradeVersion.1.7.0=upgrade-db-to-1.7 | | |
|
165 |
| | database.upgradeVersion.1.8.0=upgrade-db-to-1.8 | | |
|
166 |
| | database.upgradeVersion.1.9.0=upgrade-db-to-1.9 | | |
|
167 |
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ |
|
168 |
| database.initialConnections | The number of initial connection that Metacat creates to the database. | 5 | |
|
169 |
| | | | |
|
170 |
| | Default Value: 5 | | |
|
171 |
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ |
|
172 |
| database.incrementConnections | The number of connections Metacat creates when it requires | 5 | |
|
173 |
| | more connections. | | |
|
174 |
| | | | |
|
175 |
| | Default Value: 5 | | |
|
176 |
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ |
|
177 |
| database.maximumConnections | The maximum number of database connections Metacat can make. | 25 | |
|
178 |
| | | | |
|
179 |
| | Default Value: 200 | | |
|
180 |
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ |
|
181 |
| database.maximumConnectionAge | The maximum time in milliseconds that a database connection can live. | 120000 | |
|
182 |
| | | | |
|
183 |
| | Default Value: 120000 | | |
|
184 |
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ |
|
185 |
| database.maximumConnectionTime | The maximum time in milliseconds that a database connection can | 60000 | |
|
186 |
| | accumulate in actual connection time. | | |
|
187 |
| | | | |
|
188 |
| | Default Value: 60000 | | |
|
189 |
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ |
|
190 |
| database.maximumUsageNumber | The maximum number of times a single connection can be used. | 100 | |
|
191 |
| | | | |
|
192 |
| | Default Value: 100 | | |
|
193 |
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ |
|
194 |
| database.numberOfIndexingThreads | The number of threads available for indexing. | 5 | |
|
195 |
| | | | |
|
196 |
| | Default Value: 5 | | |
|
197 |
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ |
|
198 |
| database.indexingTimerTaskTime | The time in milliseconds between indexing. | 604800000 | |
|
199 |
| | | | |
|
200 |
| | Default Value: 604800000 | | |
|
201 |
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ |
|
202 |
| database.indexingInitialDelay | The delay in milliseconds before first indexing is executed. | 3600000 | |
|
203 |
| | | | |
|
204 |
| | Default Value: 3600000 | | |
|
205 |
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ |
|
206 |
| database.maximumIndexDelay | The time in milliseconds that an indexing thread will wait when it | 5000 | |
|
207 |
| | can't get a doc id before retrying the indexing. | | |
|
208 |
| | | | |
|
209 |
| | Default Value: 5000 | | |
|
210 |
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ |
|
211 |
| database.runDBConnectionRecycleThread | Determines whether the database connection pool should run a thread to | off | |
|
212 |
| | recycle connections. Possible values are "on" and "off" | | |
|
213 |
| | | | |
|
214 |
| | Default Value: off | | |
|
215 |
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ |
|
216 |
| database.cycleTimeOfDBConnection | The time in milliseconds between connection recycling runs. | 30000 | |
|
217 |
| | | | |
|
218 |
| | Default Value: 30000 | | |
|
219 |
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ |
|
220 |
| database.queryignoredparams | Parameters to ignore in a structured XML query. | enableediting | |
|
221 |
| | | | |
|
222 |
| | Default Value: enableediting,foo | | |
|
223 |
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ |
|
224 |
| database.usexmlindex | Determines whether to use XML indexes when finding | true | |
|
225 |
| | documents. Possible values are true and false. | | |
|
226 |
| | | | |
|
227 |
| | Default Value: true | | |
|
228 |
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ |
|
229 |
| database.appResultsetSize | Determines the number of results that can be returned to an application from a query. | 7000 | |
|
230 |
| | | | |
|
231 |
| | Default Value: 7000 | | |
|
232 |
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ |
|
233 |
| database.webResultsetSize | Determines the number of results that can be returned to a | 7000 | |
|
234 |
| | Web browser from a query. | | |
|
235 |
| | | | |
|
236 |
| | Default Value: 7000 | | |
|
237 |
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ |
|
238 |
| database.xmlReturnfieldCount | If the query results of a query are returned more times | 0 | |
|
239 |
| | than this value, then those results will be inserted into the xml_queryresult | | |
|
240 |
| | table in the database. For example, if you want results for | | |
|
241 |
| | a query to be stored in xml_queryresult only when it has been requested | | |
|
242 |
| | 50 times, set this value to 50. | | |
|
243 |
| | | | |
|
244 |
| | Default Value: 0 | | |
|
245 |
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ |
|
246 |
| database.queryresultStringLength | The max size of the query result string in the queryresult table. This | 500000 | |
|
247 |
| | should be set to some number less than 4000 if an Oracle | | |
|
248 |
| | database is being used. | | |
|
249 |
| | | | |
|
250 |
| | Default Value: 500000 | | |
|
251 |
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ |
|
252 |
| database.queryresultCacheSize | The number of query results that will be cached. | 500 | |
|
253 |
| | | | |
|
254 |
| | Default Value: 500 | | |
|
255 |
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ |
|
256 |
| database.queryCacheOn | Determines whether query caching is turned on. Possible values are "on" and "off" | on | |
|
257 |
| | | | |
|
258 |
| | Default Value: on | | |
|
259 |
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+ |
|
260 |
|
|
261 |
Authorization and Authentication Properties |
|
262 |
------------------------------------------- |
|
263 |
Metacat's authorization and authentication properties are described in the |
|
264 |
table below. Properties that can only be edited manually in the ``metacat.properties`` |
|
265 |
file are highlighted. All others are managed with the properties configuration utility. |
|
266 |
|
|
267 |
Authorization and Authentication Properties |
|
268 |
|
|
269 |
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+ |
|
270 |
| Property | Description | Example | |
|
271 |
+===================================+===============================================================================+===============================================+ |
|
272 |
| auth.class | The class used for user authentication. Currently, only the AuthLdap | edu.ucsb.nceas.metacat.AuthLdap | |
|
273 |
| | class is included in the Metacat distribution. | | |
|
274 |
| | Note: If you implement another authentication strategy by implementing a Java | | |
|
275 |
| | class that extends the AuthInterface interface and rebuilding Metacat, | | |
|
276 |
| | change this property to the fully qualified class name of your custom | | |
|
277 |
| | authentication mechanism. | | |
|
278 |
| | | | |
|
279 |
| | Default Value: edu.ucsb.nceas.metacat.AuthLdap | | |
|
280 |
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+ |
|
281 |
| auth.timeoutMinutes | The number of minutes that a user will stay logged in to Metacat | 180 | |
|
282 |
| | without any activity. | | |
|
283 |
| | | | |
|
284 |
| | Default Value: 180 | | |
|
285 |
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+ |
|
286 |
| auth.administrators | A colon separated list of LDAP users or groups that have administrative | uid=youruser,o=NCEAS,dc=ecoinformatics,dc=org | |
|
287 |
| | Metacat privileges. At least one user or group must be entered when | cn=yourgroup,o=NCEAS,dc=ecoinformatics,dc=org | |
|
288 |
| | Metacat is first installed and configured. All accounts must exist | | |
|
289 |
| | in LDAP in order to continue with the configuration. | | |
|
290 |
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+ |
|
291 |
| auth.url | The URL of the server that Metacat should use for authentication. | ldap://ldap.ecoinformatics.org:389/ | |
|
292 |
| | | | |
|
293 |
| | Default Value: ldap://ldap.ecoinformatics.org:389/ | | |
|
294 |
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+ |
|
295 |
| auth.surl | The URL of the server that Metacat should use for secure authentication. | ldap://ldap.ecoinformatics.org:389/ | |
|
296 |
| | | | |
|
297 |
| | Default Value: ldap://ldap.ecoinformatics.org:389/ | | |
|
298 |
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+ |
|
299 |
| auth.base | The base part of the distinguished name that Metacat uses for authentication. | dc=ecoinformatics,dc=org | |
|
300 |
| | | | |
|
301 |
| | Default Value: dc=ecoinformatics,dc=org | | |
|
302 |
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+ |
|
303 |
| auth.allowedSubmitters | A colon delimited list of users who should be allowed to submit documents | uid=youruser,o=NCEAS,dc=ecoinformatics,dc=org | |
|
304 |
| | to Metacat. If no value is specified, all users will be | | |
|
305 |
| | allowed to submit documents. | | |
|
306 |
| | | | |
|
307 |
| | Default Value: (none) | | |
|
308 |
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+ |
|
309 |
| auth.deniedSubmitters | A colon delimited list of users who should NOT be allowed to | uid=youruser,o=NCEAS,dc=ecoinformatics,dc=org | |
|
310 |
| | submit documents. If no value is specified, all users will be allowed to | | |
|
311 |
| | submit documents. | | |
|
312 |
| | | | |
|
313 |
| | Default Value: (none) | | |
|
314 |
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+ |
|
315 |
| ldap.connectTimeLimit | The time in milliseconds allowed for LDAP server connections. | 5000 | |
|
316 |
| | | | |
|
317 |
| | Default Value: 5000 | | |
|
318 |
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+ |
|
319 |
| ldap.searchTimeLimit | The time in milliseconds allowed for LDAP server searches. | 3000 | |
|
320 |
| | | | |
|
321 |
| | Default Value: 30000 | | |
|
322 |
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+ |
|
323 |
| ldap.searchCountLimit | The number of return entries allowed for LDAP server searches. | 30000 | |
|
324 |
| | | | |
|
325 |
| | Default Value: 30000 | | |
|
326 |
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+ |
|
327 |
| ldap.referral | The type of LDAP referrals to use. Possible values are "follow", | follow | |
|
328 |
| | "throw" or "none". Refer to LDAP documentation for further information. | | |
|
329 |
| | | | |
|
330 |
| | Default Value: follow | | |
|
331 |
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+ |
|
332 |
| ldap.onlySecureConnection | Determines whether to use only a secure LDAP server. | false | |
|
333 |
| | Acceptable values are "true" and "false". | | |
|
334 |
| | | | |
|
335 |
| | Default Value: false | | |
|
336 |
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+ |
|
337 |
| ldap.onlySecureReferalsConnection | Determines whether to only use a secure referral server. | false | |
|
338 |
| | Acceptable values are "true" and "false". | | |
|
339 |
| | | | |
|
340 |
| | Default Value: false | | |
|
341 |
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+ |
|
342 |
|
|
343 |
XML/EML Properties |
|
344 |
------------------ |
|
345 |
Metacat's XML/EML properties are described ibelow. Properties that can only be |
|
346 |
edited manually in the metacat.properties file are highlighted. |
|
347 |
|
|
348 |
XML/EML Properties |
|
349 |
|
|
350 |
+-----------------------+------------------------------------------------------------------+---------------------------------------------------+ |
|
351 |
| Property | Description | Example | |
|
352 |
+=======================+==================================================================+===================================================+ |
|
353 |
| xml.saxparser | The SAX parser used to parse XML documents. Metacat | org.apache.xerces.parsers.SAXParser | |
|
354 |
| | requires a SAX2-compatible XML parser. | | |
|
355 |
| | | | |
|
356 |
| | Default Value: org.apache.xerces.parsers.SAXParser | | |
|
357 |
+-----------------------+------------------------------------------------------------------+---------------------------------------------------+ |
|
358 |
| xml.eml2_0_0namespace | The namespace of EML 2.0.0 documents. | eml://ecoinformatics.org/eml-2.0.0 | |
|
359 |
| | | | |
|
360 |
| | Default Value: eml://ecoinformatics.org/eml-2.0.0 | | |
|
361 |
+-----------------------+------------------------------------------------------------------+---------------------------------------------------+ |
|
362 |
| xml.eml2_0_1namespace | The namespace of EML 2.0.1 documents. | eml://ecoinformatics.org/eml-2.0.1 | |
|
363 |
| | | | |
|
364 |
| | Default Value: eml://ecoinformatics.org/eml-2.0.1 | | |
|
365 |
+-----------------------+------------------------------------------------------------------+---------------------------------------------------+ |
|
366 |
| xml.eml2_1_0namespace | The namespace of EML 2.1.0 documents. | eml://ecoinformatics.org/eml-2.1.0 | |
|
367 |
| | | | |
|
368 |
| | Default Value: eml://ecoinformatics.org/eml-2.1.0 | | |
|
369 |
| | | | |
|
370 |
| xml.packagedoctype | The doctype of a package file. The system will only | -//ecoinformatics.org//eml-dataset-2.0.0beta6//EN | |
|
371 |
| | recognize documents of this type as package files. | -//ecoinformatics.org//eml-dataset-2.0.0beta4//EN | |
|
372 |
| | See: package documentation. | | |
|
373 |
| | | | |
|
374 |
| | Default Value: -//ecoinformatics.org//eml-dataset-2.0.0beta6//EN | | |
|
375 |
+-----------------------+------------------------------------------------------------------+---------------------------------------------------+ |
|
376 |
| xml.accessdoctype | The doctype of an access control list (ACL) file. The system | -//ecoinformatics.org//eml-access-2.0.0beta6//EN | |
|
377 |
| | will only recognize documents of this type as | -//ecoinformatics.org//eml-access-2.0.0beta4//EN | |
|
378 |
| | access files. See: access control documentation. | | |
|
379 |
| | | | |
|
380 |
| | Default Value: -//ecoinformatics.org//eml-access-2.0.0beta6//EN | | |
|
381 |
+-----------------------+------------------------------------------------------------------+---------------------------------------------------+ |
|
382 |
|
|
383 |
|
Also available in: Unified diff
Converted the metacat-properties chapter to RST format. Still need to merge in
newer changes from the trunk, as I was accidentally working from the 1.9.4
branch for this whole conversion process.