Project

General

Profile

metacat / docs / user / metacat / source / metacat-properties.rst @ 8521

1
Appendix: Metacat Properties
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:
7

    
8
* Server Properties
9
* Application Properties
10
* Database Properties
11
* Authorization and Authentication Properties
12
* XML/EML Properties
13

    
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.
19

    
20

    
21
Metacat Server Properties
22

    
23
+---------------------------+------------------------------------------------------------------------------------------+------------------------+
24
| Property                  | Description                                                                              | Example                |
25
+===========================+==========================================================================================+========================+
26
| .. _server-name:          |                                                                                          |                        |
27
|                           |                                                                                          |                        |
28
| server.name               | The network host name used to access Metacat. Note that this is not necessarily          | knb.ecoinformatics.org |
29
|                           | the physical name of the server running Metacat. The host name should not                |                        |
30
|                           | include the protocol prefix (http://).                                                   |                        |
31
|                           |                                                                                          |                        |
32
|                           | Default Value: localhost                                                                 |                        |
33
+---------------------------+------------------------------------------------------------------------------------------+------------------------+
34
| .. _server-httpPort:      |                                                                                          |                        |
35
|                           |                                                                                          |                        |
36
| server.httpPort           | The network port used to access Metacat for non-secure (standard) connections.           | 80                     |
37
|                           | This is usually 80 if Apache Web server is running, and 8080 if Tomcat is running alone. |                        |
38
|                           |                                                                                          |                        |
39
|                           | Default Value: 80                                                                        |                        |
40
+---------------------------+------------------------------------------------------------------------------------------+------------------------+
41
| .. _server-httpSSLPort:   |                                                                                          |                        |
42
|                           |                                                                                          |                        |
43
| server.httpSSLPort        | The network port used to access Metacat for secure connections. This is usually          | 443                    |
44
|                           | 443 if Apache Web server is running, and 8443 if Tomcat is running alone.                |                        |
45
|                           |                                                                                          |                        |
46
|                           | Default Value: 443                                                                       |                        |
47
+---------------------------+------------------------------------------------------------------------------------------+------------------------+
48

    
49
Application Properties
50
----------------------
51

    
52
Metacat's application properties are described below. Properties that can only 
53
be edited manually in the ``metacat.properties`` file are marked. All 
54
others are managed with the properties configuration utility.
55

    
56
+--------------------------------------+-----------------------------------------------------------------------------+-------------------------------+
57
| Property                             | Description                                                                 | Example                       |
58
+======================================+=============================================================================+===============================+
59
| application.metacatVersion*          | The Metacat version number. It is set by the build engineer                 | 1.9.0                         |
60
|                                      | at build time. Usually, the value should never be changed.                  |                               |
61
|                                      |                                                                             |                               |
62
|                                      | Default Value: X.X.X (where X.X.X is the current version of Metacat)        |                               |
63
+--------------------------------------+-----------------------------------------------------------------------------+-------------------------------+
64
| application.metacatReleaseInfo*      | Release information for display purposes. Typically the property            | Release Candidate 1           |
65
|                                      | is set during the release candidate cycle to let users know which           |                               |
66
|                                      | candidate they are downloading.                                             |                               |
67
+--------------------------------------+-----------------------------------------------------------------------------+-------------------------------+
68
| .. _application.deployDir:           |                                                                             |                               |
69
|                                      |                                                                             |                               |
70
| application.deployDir                | The directory where Web applications are deployed. Usually, the value       | /usr/local/tomcat/webapps     |
71
|                                      | is a directory named "webapps" in the Tomcat installation directory.        |                               |
72
+--------------------------------------+-----------------------------------------------------------------------------+-------------------------------+
73
| .. _application.context:             |                                                                             |                               |
74
|                                      |                                                                             |                               |
75
| application.context                  | The name of the Metacat application directory in                            | knb                           |
76
|                                      | the deployment directory. This corresponds to the first part of the         |                               |
77
|                                      | WAR file name (the part before .war). Most commonly, this                   |                               |
78
|                                      | is "knb", but it can be changed to other things.                            |                               |
79
+--------------------------------------+-----------------------------------------------------------------------------+-------------------------------+
80
| .. _index.context:                   |                                                                             |                               |
81
|                                      |                                                                             |                               |
82
| index.context                        | The name of the Metacat index webapp in                                     | metacat-index                 |
83
|                                      | the deployment directory. Most commonly, this                               |                               |
84
|                                      | is "metacat-index", but it can be changed if needed.                        |                               |
85
+--------------------------------------+-----------------------------------------------------------------------------+-------------------------------+
86
| .. _ui.context:                      |                                                                             |                               |
87
|                                      |                                                                             |                               |
88
| ui.context                           | The name of the Metacat UI directory in                                     | metacatui                     |
89
|                                      | the deployment directory. Often the UI is deployed                          |                               |
90
|                                      | as the ROOT webapp, in which case the property should be blank ("").        |                               |
91
+--------------------------------------+-----------------------------------------------------------------------------+-------------------------------+
92
| .. _application.default-style:       |                                                                             |                               |
93
|                                      |                                                                             |                               |
94
| application.default-style            | A custom Metacat Web skin usually associated with                           | default                       |
95
|                                      | an organizational theme. If your organization has no                        |                               |
96
|                                      | custom skin, leave the value as "default".                                  |                               |
97
+--------------------------------------+-----------------------------------------------------------------------------+-------------------------------+
98
| .. _application.knbSiteURL:          |                                                                             |                               |
99
|                                      |                                                                             |                               |
100
| application.knbSiteURL               | The main KNB website.                                                       | http://knb.ecoinformatics.org |
101
|                                      |                                                                             |                               |
102
|                                      | Default Value: http://knb.ecoinformatics.org                                |                               |
103
+--------------------------------------+-----------------------------------------------------------------------------+-------------------------------+
104
| .. _application.datafilepath:        |                                                                             |                               |
105
|                                      |                                                                             |                               |
106
| application.datafilepath             | The directory in which to store data files. The directory should            | /var/metacat/data             |
107
|                                      | be outside the Metacat installation directories so data files will not      |                               |
108
|                                      | be lost when Metacat is upgraded. The data file directory must be           |                               |
109
|                                      | writable by the user that starts Tomcat (and thus Metacat).                 |                               |
110
|                                      |                                                                             |                               |
111
|                                      | Default Value: /var/metacat/data                                            |                               |
112
+--------------------------------------+-----------------------------------------------------------------------------+-------------------------------+
113
| .. _application.inlinedatafilepath:  |                                                                             |                               |
114
|                                      |                                                                             |                               |
115
| application.inlinedatafilepath       | The directory where inline data files will be stored. Inline                | /var/metacat/inline-data      |
116
|                                      | data files are created from data that is embedded in EML                    |                               |
117
|                                      | metadata. The directory should be outside the Metacat installation          |                               |
118
|                                      | directories so data files will not be lost when Metacat is upgraded.        |                               |
119
|                                      | For clarity of data, this should probably not be the same as                |                               |
120
|                                      | ``application.datafilepath``. The data file directory must be               |                               |
121
|                                      | writable by the user that starts Tomcat (and thus Metacat).                 |                               |
122
|                                      |                                                                             |                               |
123
|                                      | Default Value: /var/metacat/inline-data                                     |                               |
124
+--------------------------------------+-----------------------------------------------------------------------------+-------------------------------+
125
| .. _application.documentfilepath:    |                                                                             |                               |
126
|                                      |                                                                             |                               |
127
| application.documentfilepath         | The directory where metadata files will be stored.                          | /var/metacat/documents        |
128
|                                      | The directory should be outside the Metacat installation directories        |                               |
129
|                                      | so document files will not be lost when Metacat is upgraded. For            |                               |
130
|                                      | clarity of organization, this should probably not be the same as            |                               |
131
|                                      | ``application.datafilepath`` or ``application.inlinedatafilepath``.         |                               |
132
|                                      | The data file directory must be writable by the user that                   |                               |
133
|                                      | starts Tomcat (and thus Metacat).                                           |                               |
134
|                                      |                                                                             |                               |
135
|                                      | Default Value: /var/metacat/documents                                       |                               |
136
+--------------------------------------+-----------------------------------------------------------------------------+-------------------------------+
137
| .. _application.tempDir:             |                                                                             |                               |
138
|                                      |                                                                             |                               |
139
| application.tempDir                  | The directory where the Metacat data registry stores temporary              | /var/metacat/temporary        |
140
|                                      | files. The directory should not be the same as ``application.datafilepath`` |                               |
141
|                                      | or ``application.inlinedatafilepath`` (or any other persistent file path)   |                               |
142
|                                      | because all files in this may be purged programmatically. The temporary     |                               |
143
|                                      | file directory must be writable by the user that starts Apache.             |                               |
144
|                                      |                                                                             |                               |
145
|                                      | Default Value: /var/metacat/temporary                                       |                               |
146
+--------------------------------------+-----------------------------------------------------------------------------+-------------------------------+
147
| .. _solr.homeDir:                    |                                                                             |                               |
148
|                                      |                                                                             |                               |
149
| solr.homeDir                         | The directory where the Metacat index component stores the SOLR index.      | /var/metacat/solr-home        |
150
|                                      | The directory must be writable by the user that starts Tomcat.              |                               |
151
|                                      |                                                                             |                               |
152
|                                      | Default Value: /var/metacat/solr-home                                       |                               |
153
+--------------------------------------+-----------------------------------------------------------------------------+-------------------------------+
154

    
155
Database Properties
156
-------------------
157
Metacat's database properties are described next. Properties that can only be 
158
edited manually in the metacat.properties file are marked. All others 
159
are managed with the properties configuration utility.
160

    
161
Metacat Database Properties
162

    
163
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
164
| Property                                   | Description                                                                                              | Example                                                 |
165
+============================================+==========================================================================================================+=========================================================+
166
| .. _database-connectionURI:                |                                                                                                          |                                                         |
167
|                                            |                                                                                                          |                                                         |
168
| database.connectionURI                     | The JDBC connection URI for the main database instance of Metacat.                                       | ``jdbc:postgresql://yourserver.yourdomain.edu/metacat`` |
169
|                                            | The URI is formatted like: ``jdbc:<database_type>:thin@<your_server_name>:1521:<metacat_database_name>`` |                                                         |
170
|                                            | NOTE: You must create an empty database prior to initial Metacat configuration.                          |                                                         |
171
|                                            |                                                                                                          |                                                         |
172
|                                            | Default Value: jdbc:postgresql://localhost/metacat                                                       |                                                         |
173
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
174
| .. _database-user:                         |                                                                                                          |                                                         |
175
|                                            |                                                                                                          |                                                         |
176
| database.user                              | The user for the main database instance of Metacat. The user must                                        | metacat-user                                            |
177
|                                            | have already been created on the database.                                                               |                                                         |
178
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
179
| .. _database-password:                     |                                                                                                          |                                                         |
180
|                                            |                                                                                                          |                                                         |
181
| database.password                          | The password of the user for the main database instance of Metacat.                                      | securepassword4843                                      |
182
|                                            | The password must have already been created for the user.                                                |                                                         |
183
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
184
| .. _database-type:                         |                                                                                                          |                                                         |
185
|                                            |                                                                                                          |                                                         |
186
| database.type                              | The type of database you are running. Currently, there are two supported                                 | postgres                                                |
187
|                                            | types, Oracle and Postgres.                                                                              |                                                         |
188
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
189
| .. _database-driver:                       |                                                                                                          |                                                         |
190
|                                            |                                                                                                          |                                                         |
191
| database.driver                            | The JDBC driver to be used to access the main database instance of Metacat.                              | org.postgresql.Driver                                   |
192
|                                            | There is one driver associated with each type of database.                                               |                                                         |
193
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
194
| .. _database-adapter:                      |                                                                                                          |                                                         |
195
|                                            |                                                                                                          |                                                         |
196
| database.adapter                           | The adapter class that allows Metacat to access your database type.                                      | edu.ucsb.nceas.dbadapter.PostgresqlAdapter              |
197
|                                            | There is one adapter associated with each type of database.                                              |                                                         |
198
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
199
| .. _database-scriptsuf:                    |                                                                                                          |                                                         |
200
|                                            |                                                                                                          |                                                         |
201
| database.scriptsuffix.<database_type>      | The script suffix tells the system which database scripts to run                                         | postgres.sql                                            |
202
|                                            | (postgres or oracle) when installing or updating database schema.                                        |                                                         |
203
|                                            |                                                                                                          |                                                         |
204
|                                            | Default Values:                                                                                          |                                                         |
205
|                                            | database.scriptsuffix.postgres=postgres.sql                                                              |                                                         |
206
|                                            | database.scriptsuffix.oracle=oracle.sql                                                                  |                                                         |
207
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
208
| .. _database-upgradeVersion:               |                                                                                                          |                                                         |
209
|                                            |                                                                                                          |                                                         |
210
| database.upgradeVersion.<database_version> | Which database scripts to run when updating database schema. There is a                                  | upgrade-db-to-1.2                                       |
211
|                                            | database.upgradeVersion entry for every Metacat database schema version.                                 |                                                         |
212
|                                            | Each schema version corresponds to an application version.                                               |                                                         |
213
|                                            |                                                                                                          |                                                         |
214
|                                            | Default Values:                                                                                          |                                                         |
215
|                                            | database.upgradeVersion.0.0.0=xmltables,loaddtdschema                                                    |                                                         |
216
|                                            | database.upgradeVersion.1.2.0=upgrade-db-to-1.2                                                          |                                                         |
217
|                                            | database.upgradeVersion.1.3.0=upgrade-db-to-1.3                                                          |                                                         |
218
|                                            | database.upgradeVersion.1.4.0=upgrade-db-to-1.4                                                          |                                                         |
219
|                                            | database.upgradeVersion.1.5.0=upgrade-db-to-1.5                                                          |                                                         |
220
|                                            | database.upgradeVersion.1.6.0=upgrade-db-to-1.6                                                          |                                                         |
221
|                                            | database.upgradeVersion.1.7.0=upgrade-db-to-1.7                                                          |                                                         |
222
|                                            | database.upgradeVersion.1.8.0=upgrade-db-to-1.8                                                          |                                                         |
223
|                                            | database.upgradeVersion.1.9.0=upgrade-db-to-1.9                                                          |                                                         |
224
|                                            | database.upgradeVersion.2.0.0=upgrade-db-to-2.0                                                          |                                                         |
225
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
226
| database.initialConnections*               | The number of initial connection that Metacat creates to the database.                                   | 5                                                       |
227
|                                            |                                                                                                          |                                                         |
228
|                                            | Default Value: 5                                                                                         |                                                         |
229
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
230
| database.incrementConnections*             | The number of connections Metacat creates when it requires                                               | 5                                                       |
231
|                                            | more connections.                                                                                        |                                                         |
232
|                                            |                                                                                                          |                                                         |
233
|                                            | Default Value: 5                                                                                         |                                                         |
234
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
235
| database.maximumConnections*               | The maximum number of database connections Metacat can make.                                             | 25                                                      |
236
|                                            |                                                                                                          |                                                         |
237
|                                            | Default Value: 200                                                                                       |                                                         |
238
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
239
| database.maximumConnectionAge*             | The maximum time in milliseconds that a database connection can live.                                    | 120000                                                  |
240
|                                            |                                                                                                          |                                                         |
241
|                                            | Default Value: 120000                                                                                    |                                                         |
242
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
243
| database.maximumConnectionTime*            | The maximum time in milliseconds that a database connection can                                          | 60000                                                   |
244
|                                            | accumulate in actual connection time.                                                                    |                                                         |
245
|                                            |                                                                                                          |                                                         |
246
|                                            | Default Value: 60000                                                                                     |                                                         |
247
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
248
| database.maximumUsageNumber*               | The maximum number of times a single connection can be used.                                             | 100                                                     |
249
|                                            |                                                                                                          |                                                         |
250
|                                            | Default Value: 100                                                                                       |                                                         |
251
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
252
| database.numberOfIndexingThreads*          | The number of threads available for indexing.                                                            | 5                                                       |
253
|                                            |                                                                                                          |                                                         |
254
|                                            | Default Value: 5                                                                                         |                                                         |
255
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
256
| database.indexingTimerTaskTime*            | The time in milliseconds between indexing.                                                               | 604800000                                               |
257
|                                            |                                                                                                          |                                                         |
258
|                                            | Default Value: 604800000                                                                                 |                                                         |
259
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
260
| database.indexingInitialDelay*             | The delay in milliseconds before first indexing is executed.                                             | 3600000                                                 |
261
|                                            |                                                                                                          |                                                         |
262
|                                            | Default Value: 3600000                                                                                   |                                                         |
263
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
264
| database.maximumIndexDelay*                | The time in milliseconds that an indexing thread will wait when it                                       | 5000                                                    |
265
|                                            | can't get a doc id before retrying the indexing.                                                         |                                                         |
266
|                                            |                                                                                                          |                                                         |
267
|                                            | Default Value: 5000                                                                                      |                                                         |
268
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
269
| database.runDBConnectionRecycleThread*     | Determines whether the database connection pool should run a thread to                                   | off                                                     |
270
|                                            | recycle connections. Possible values are "on" and "off"                                                  |                                                         |
271
|                                            |                                                                                                          |                                                         |
272
|                                            | Default Value: off                                                                                       |                                                         |
273
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
274
| database.cycleTimeOfDBConnection*          | The time in milliseconds between connection recycling runs.                                              | 30000                                                   |
275
|                                            |                                                                                                          |                                                         |
276
|                                            | Default Value: 30000                                                                                     |                                                         |
277
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
278
| database.queryignoredparams*               | Parameters to ignore in a structured XML query.                                                          | enableediting                                           |
279
|                                            |                                                                                                          |                                                         |
280
|                                            | Default Value: enableediting,foo                                                                         |                                                         |
281
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
282
| database.usexmlindex*                      | Determines whether to use XML indexes when finding                                                       | true                                                    |
283
|                                            | documents. Possible values are true and false.                                                           |                                                         |
284
|                                            |                                                                                                          |                                                         |
285
|                                            | Default Value: true                                                                                      |                                                         |
286
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
287
| database.appResultsetSize*                 | Determines the number of results that can be returned to an application from a query.                    | 7000                                                    |
288
|                                            |                                                                                                          |                                                         |
289
|                                            | Default Value: 7000                                                                                      |                                                         |
290
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
291
| database.webResultsetSize*                 | Determines the number of results that can be returned to a                                               | 7000                                                    |
292
|                                            | Web browser from a query.                                                                                |                                                         |
293
|                                            |                                                                                                          |                                                         |
294
|                                            | Default Value: 7000                                                                                      |                                                         |
295
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
296
| database.xmlReturnfieldCount*              | If the query results of a query are returned more times                                                  | 0                                                       |
297
|                                            | than this value, then those results will be inserted into the xml_queryresult                            |                                                         |
298
|                                            | table in the database. For example, if you want results for                                              |                                                         |
299
|                                            | a query to be stored in xml_queryresult only when it has been requested                                  |                                                         |
300
|                                            | 50 times, set this value to 50.                                                                          |                                                         |
301
|                                            |                                                                                                          |                                                         |
302
|                                            | Default Value: 0                                                                                         |                                                         |
303
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
304
| database.queryresultStringLength*          | The max size of the query result string in the queryresult table. This                                   | 500000                                                  |
305
|                                            | should be set to some number less than 4000 if an Oracle                                                 |                                                         |
306
|                                            | database is being used.                                                                                  |                                                         |
307
|                                            |                                                                                                          |                                                         |
308
|                                            | Default Value: 500000                                                                                    |                                                         |
309
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
310
| database.queryresultCacheSize*             | The number of query results that will be cached.                                                         | 500                                                     |
311
|                                            |                                                                                                          |                                                         |
312
|                                            | Default Value: 500                                                                                       |                                                         |
313
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
314
| database.queryCacheOn*                     | Determines whether query caching is turned on. Possible values are "on" and "off"                        | on                                                      |
315
|                                            |                                                                                                          |                                                         |
316
|                                            | Default Value: on                                                                                        |                                                         |
317
+--------------------------------------------+----------------------------------------------------------------------------------------------------------+---------------------------------------------------------+
318

    
319
Authorization and Authentication Properties
320
-------------------------------------------
321
Metacat's authorization and authentication properties are described in the 
322
table below. Properties that can only be edited manually in the ``metacat.properties`` 
323
file are marked. All others are managed with the properties configuration utility.
324

    
325
Authorization and Authentication Properties
326

    
327
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
328
| Property                          | Description                                                                   | Example                                       |
329
+===================================+===============================================================================+===============================================+
330
| .. _auth-class:                   |                                                                               |                                               |
331
|                                   |                                                                               |                                               |
332
| auth.class                        | The class used for user authentication. Currently, both the AuthFile and      | edu.ucsb.nceas.metacat.AuthLdap               |
333
|                                   | AuthLdap classes are included in the Metacat distribution.                    |                                               |
334
|                                   | Note: If you implement another authentication strategy by implementing a Java |                                               |
335
|                                   | class that extends the AuthInterface interface and rebuilding Metacat,        |                                               |
336
|                                   | change this property to the fully qualified class name of your custom         |                                               |
337
|                                   | authentication mechanism.                                                     |                                               |
338
|                                   |                                                                               |                                               |
339
|                                   | Default Value: edu.ucsb.nceas.metacat.authentication.AuthFile                 |                                               |
340
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
341
| auth.timeoutMinutes*              | The number of minutes that a user will stay logged in to Metacat              | 180                                           |
342
|                                   | without any activity.                                                         |                                               |
343
|                                   |                                                                               |                                               |
344
|                                   | Default Value: 180                                                            |                                               |
345
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
346
| .. _auth-administrators:          |                                                                               |                                               |
347
|                                   |                                                                               |                                               |
348
| auth.administrators               | A colon separated list of LDAP users or groups that have administrative       | uid=youruser,o=NCEAS,dc=ecoinformatics,dc=org |
349
|                                   | Metacat privileges. At least one user or group must be entered when           | cn=yourgroup,o=NCEAS,dc=ecoinformatics,dc=org |
350
|                                   | Metacat is first installed and configured. All accounts must exist            |                                               |
351
|                                   | in LDAP in order to continue with the configuration.                          |                                               |
352
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
353
| .. _auth-user-management-url:     |                                                                               |                                               |
354
|                                   |                                                                               |                                               |
355
| auth.userManagementUrl            | A web page provides the user management such as creating a new user and       | https://identity.nceas.ucsb.edu               |
356
|                                   | changing password.                                                            |                                               |
357
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
358
| .. _auth-file-path:               |                                                                               |                                               |
359
|                                   |                                                                               |                                               |
360
| auth.file.path                    | The absolute path of the password file which stores the username/password     | /var/metacat/certs/password                   |
361
|                                   | and users' information. This file is used for the file-based authentication   |                                               |
362
|                                   | mechanism.                                                                    |                                               |
363
|                                   |                                                                               |                                               |
364
|                                   | Default Value: /var/metacat/certs/password                                    |                                               |
365
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
366
| .. _auth-url:                     |                                                                               |                                               |
367
|                                   |                                                                               |                                               |
368
| auth.url                          | The URL of the server that Metacat should use for authentication.             | ldap://ldap.ecoinformatics.org:389/           |
369
|                                   |                                                                               |                                               |
370
|                                   | Default Value: ldap://ldap.ecoinformatics.org:389/                            |                                               |
371
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
372
| .. _auth-surl:                    |                                                                               |                                               |
373
|                                   |                                                                               |                                               |
374
| auth.surl                         | The URL of the server that Metacat should use for secure authentication.      | ldap://ldap.ecoinformatics.org:389/           |
375
|                                   |                                                                               |                                               |
376
|                                   | Default Value: ldap://ldap.ecoinformatics.org:389/                            |                                               |
377
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
378
| .. _auth-base:                    |                                                                               |                                               |
379
|                                   |                                                                               |                                               |
380
| auth.base                         | The base part of the distinguished name that Metacat uses for authentication. | dc=ecoinformatics,dc=org                      |
381
|                                   |                                                                               |                                               |
382
|                                   | Default Value: dc=ecoinformatics,dc=org                                       |                                               |
383
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
384
| .. _auth-allowedSubmitters:       |                                                                               |                                               |
385
|                                   |                                                                               |                                               |
386
| auth.allowedSubmitters            | A colon delimited list of users who should be allowed to submit documents     | uid=youruser,o=NCEAS,dc=ecoinformatics,dc=org |
387
|                                   | to Metacat. If no value is specified, all users will be                       |                                               |
388
|                                   | allowed to submit documents.                                                  |                                               |
389
|                                   |                                                                               |                                               |
390
|                                   | Default Value: (none)                                                         |                                               |
391
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
392
| .. _auth-deniedSubmitters:        |                                                                               |                                               |
393
|                                   |                                                                               |                                               |
394
| auth.deniedSubmitters             | A colon delimited list of users who should NOT be allowed to                  | uid=youruser,o=NCEAS,dc=ecoinformatics,dc=org |
395
|                                   | submit documents. If no value is specified, all users will be allowed to      |                                               |
396
|                                   | submit documents.                                                             |                                               |
397
|                                   |                                                                               |                                               |
398
|                                   | Default Value: (none)                                                         |                                               |
399
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
400
| ldap.connectTimeLimit*            | The time in milliseconds allowed for LDAP server connections.                 | 5000                                          |
401
|                                   |                                                                               |                                               |
402
|                                   | Default Value: 5000                                                           |                                               |
403
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
404
| ldap.searchTimeLimit*             | The time in milliseconds allowed for LDAP server searches.                    | 3000                                          |
405
|                                   |                                                                               |                                               |
406
|                                   | Default Value: 30000                                                          |                                               |
407
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
408
| ldap.searchCountLimit*            | The number of return entries allowed for LDAP server searches.                | 30000                                         |
409
|                                   |                                                                               |                                               |
410
|                                   | Default Value: 30000                                                          |                                               |
411
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
412
| ldap.referral*                    | The type of LDAP referrals to use. Possible values are "follow",              | follow                                        |
413
|                                   | "throw" or "none". Refer to LDAP documentation for further information.       |                                               |
414
|                                   |                                                                               |                                               |
415
|                                   | Default Value: follow                                                         |                                               |
416
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
417
| ldap.onlySecureConnection*        | Determines whether to use only a secure LDAP server.                          | false                                         |
418
|                                   | Acceptable values are "true" and "false".                                     |                                               |
419
|                                   |                                                                               |                                               |
420
|                                   | Default Value: false                                                          |                                               |
421
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
422
| ldap.onlySecureReferalsConnection*| Determines whether to only use a secure referral server.                      | false                                         |
423
|                                   | Acceptable values are "true" and "false".                                     |                                               |
424
|                                   |                                                                               |                                               |
425
|                                   | Default Value: false                                                          |                                               |
426
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
427

    
428
XML/EML Properties
429
------------------
430
Metacat's XML/EML properties are described below. These properties can only be 
431
edited manually in the metacat.properties file. 
432

    
433
XML/EML Properties
434

    
435
+-----------------------+------------------------------------------------------------------+---------------------------------------------------+
436
| Property              | Description                                                      | Example                                           |
437
+=======================+==================================================================+===================================================+
438
| xml.saxparser         | The SAX parser used to parse XML documents. Metacat              | org.apache.xerces.parsers.SAXParser               |
439
|                       | requires a SAX2-compatible XML parser.                           |                                                   |
440
|                       |                                                                  |                                                   |
441
|                       | Default Value: org.apache.xerces.parsers.SAXParser               |                                                   |
442
+-----------------------+------------------------------------------------------------------+---------------------------------------------------+
443
| xml.eml2_0_0namespace | The namespace of EML 2.0.0 documents.                            | eml://ecoinformatics.org/eml-2.0.0                |
444
|                       |                                                                  |                                                   |
445
|                       | Default Value: eml://ecoinformatics.org/eml-2.0.0                |                                                   |
446
+-----------------------+------------------------------------------------------------------+---------------------------------------------------+
447
| xml.eml2_0_1namespace | The namespace of EML 2.0.1 documents.                            | eml://ecoinformatics.org/eml-2.0.1                |
448
|                       |                                                                  |                                                   |
449
|                       | Default Value: eml://ecoinformatics.org/eml-2.0.1                |                                                   |
450
+-----------------------+------------------------------------------------------------------+---------------------------------------------------+
451
| xml.eml2_1_0namespace | The namespace of EML 2.1.0 documents.                            | eml://ecoinformatics.org/eml-2.1.0                |
452
|                       |                                                                  |                                                   |
453
|                       | Default Value: eml://ecoinformatics.org/eml-2.1.0                |                                                   |
454
+-----------------------+------------------------------------------------------------------+---------------------------------------------------+
455
|                       |                                                                  |                                                   |
456
| xml.packagedoctype    | The doctype of a package file. The system will only              | -//ecoinformatics.org//eml-dataset-2.0.0beta6//EN |
457
|                       | recognize documents of this type as package files.               | -//ecoinformatics.org//eml-dataset-2.0.0beta4//EN |
458
|                       | See: package documentation.                                      |                                                   |
459
|                       |                                                                  |                                                   |
460
|                       | Default Value: -//ecoinformatics.org//eml-dataset-2.0.0beta6//EN |                                                   |
461
+-----------------------+------------------------------------------------------------------+---------------------------------------------------+
462
| xml.accessdoctype     | The doctype of an access control list (ACL) file. The system     | -//ecoinformatics.org//eml-access-2.0.0beta6//EN  |
463
|                       | will only recognize documents of this type as                    | -//ecoinformatics.org//eml-access-2.0.0beta4//EN  |
464
|                       | access files. See: access control documentation.                 |                                                   |
465
|                       |                                                                  |                                                   |
466
|                       | Default Value: -//ecoinformatics.org//eml-access-2.0.0beta6//EN  |                                                   |
467
+-----------------------+------------------------------------------------------------------+---------------------------------------------------+
468

    
469

    
470
Data Manager Properties
471
------------------------
472
The EML Data Manager is also included for extended data-query operations. Note that this feature is still experimental. 
473

    
474
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
475
| Property                          | Description                                                                   | Example                                       |
476
+===================================+===============================================================================+===============================================+
477
| .. _datamanager.server:           |                                                                               |                                               |
478
|                                   |                                                                               |                                               |
479
| datamanager.server                | The server for the Datamanager library to use for temporary db storage        | localhost                                     |
480
|                                   |                                                                               |                                               |
481
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
482
| .. _datamanager.database:         |                                                                               |                                               |
483
|                                   |                                                                               |                                               |
484
| datamanager.database              | The database name for the Datamanager                                         | datamananger                                  |
485
|                                   |                                                                               |                                               |
486
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
487
| .. _datamanager.user:             |                                                                               |                                               |
488
|                                   |                                                                               |                                               |
489
| datamanager.user                  | The username for the Datamanager DB                                           | datamananger                                  |
490
|                                   |                                                                               |                                               |
491
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
492
| .. _datamanager.password:         |                                                                               |                                               |
493
|                                   |                                                                               |                                               |
494
| datamanager.password              | The password for the Datamanager user                                         | datamananger                                  |
495
|                                   |                                                                               |                                               |
496
+-----------------------------------+-------------------------------------------------------------------------------+-----------------------------------------------+
497

    
498

    
499
Additional Properties
500
----------------------
501
Additional configuration properties are described below, though there are many more that can be manually edited in the properties file directly. 
502

    
503
+-----------------------+------------------------------------------------------------------+---------------------------------------------------+
504
| Property              | Description                                                      | Example                                           |
505
+=======================+==================================================================+===================================================+
506
| .. _plugin.handlers:  |                                                                  |                                                   |
507
|                       |                                                                  |                                                   |
508
| plugin.handlers       | Implementations of the plugin interface:                         | org.example.CustomActionHandler                   |
509
|                       | edu.ucsb.nceas.metacat.plugin.MetacatHandlerPlugin can be listed |                                                   |
510
|                       |                                                                  |                                                   |
511
|                       | Default Value: blank                                             |                                                   |
512
+-----------------------+------------------------------------------------------------------+---------------------------------------------------+
513