source: trunk/config/dist/base.config @ 5822

Last change on this file since 5822 was 5822, checked in by Nicklas Nordborg, 11 years ago

References #1575: Add support for authenticator plug-in in external JAR files

Also added LoginException which can be used instead of UnknownLoginException or InvalidPasswordException in case the authentication implementation need to display a custom message.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 8.7 KB
Line 
1# $Id: base.config 5822 2011-10-24 11:44:02Z nicklas $
2#
3# Copyright (C) 2006 Nicklas Nordborg
4# Copyright (C) 2007 Nicklas Nordborg, Martin Svensson
5#
6# This file is part of BASE - BioArray Software Environment.
7# Available at http://base.thep.lu.se/
8#
9# BASE is free software; you can redistribute it and/or
10# modify it under the terms of the GNU General Public License
11# as published by the Free Software Foundation; either version 3
12# of the License, or (at your option) any later version.
13#
14# BASE is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17# GNU General Public License for more details.
18#
19# You should have received a copy of the GNU General Public License
20# along with BASE. If not, see <http://www.gnu.org/licenses/>.
21# ----------------------------------------
22
23# =======================
24# Database driver section
25# =======================
26
27# -----
28# MySQL
29# -----
30db.dialect          = org.hibernate.dialect.MySQL5InnoDBDialect
31db.driver           = com.mysql.jdbc.Driver
32db.url              = jdbc:mysql://localhost/base2?characterEncoding=UTF-8&useCursorFetch=true&defaultFetchSize=100&useServerPrepStmts=true
33db.dynamic.catalog  = base2dynamic
34db.queries          = /mysql-queries.xml
35#export.max.items    = 20000
36
37# --------
38# Postgres
39# --------
40#db.dialect          = org.hibernate.dialect.PostgreSQLDialect
41#db.driver           = org.postgresql.Driver
42#db.url              = jdbc:postgresql:base2
43#db.dynamic.catalog  = base2
44#db.dynamic.schema   = dynamic
45#db.queries          = /postgres-queries.xml
46
47# -------------
48# Common to all
49# -------------
50db.username            = base2user
51db.password            = password
52db.extended-properties = /extended-properties.xml
53db.raw-data-types      = /raw-data-types.xml
54db.batch-size          = 50
55# Number of hours between cleanup of unused items in the database
56# Set to 0 to disable (recommended for job agents)
57db.cleanup.interval    = 24
58
59
60# ======================
61# Authentication section
62# ======================
63
64# ----------------
65# POP3 mail server
66# ----------------
67#auth.driver         = net.sf.basedb.core.authentication.POP3Authenticator
68#auth.jarpath        =
69#auth.init           = mail.example.com
70#auth.synchronize    = 0
71#auth.cachepasswords = 0
72#auth.daystocache    = 0
73
74
75# ==========================
76# Internal job queue section
77# ==========================
78# If the internal job queue should be enabled or not
79jobqueue.internal.enabled            = true
80
81# Signal receiver class for sending signals to running jobs (to abort them)
82jobqueue.internal.signalreceiver.class = net.sf.basedb.core.signal.LocalSignalReceiver
83jobqueue.internal.signalreceiver.init  = jobqueue:0
84
85# If plugins with useInteralJobQueue = false should be executed or not
86jobqueue.internal.runallplugins      = false
87
88# The maximum thread priority for any thread executing a plug-in
89#jobqueue.internal.maxthreadpriority  = 4
90
91# Number of seconds between checks to the job queue
92jobqueue.internal.checkinterval      = 30
93
94# NOTE! A quick job may use threads from any of the "slower" pools
95# if there is place for another thread
96# Number of threads to reserved for jobs that takes < 1 minute to execute
97jobqueue.internal.shortest.threads   = 1
98#jobqueue.internal.shortest.threadpriority = 4
99
100# Number of threads to reserved for jobs that takes < 10 minutes to execute
101jobqueue.internal.short.threads      = 1
102#jobqueue.internal.short.threadpriority = 4
103
104# Number of threads to reserved for jobs that takes < 1 hour to execute
105jobqueue.internal.medium.threads     = 2
106#jobqueue.internal.medium.threadpriority = 3
107
108# Number of threads to reserved for jobs that takes > 1 hour to execute
109jobqueue.internal.long.threads       = 4
110#jobqueue.internal.long.threadpriority = 3
111
112# ==========================
113# External job agent section
114# ==========================
115
116# Number of seconds to cache information from a job agent before it
117# is reloaded. The default value is 60 seconds.
118agent.maxage=60
119
120# The timeout in milliseconds to use when connecting to job agents to
121# get information. The default value is 1000 milliseconds.
122agent.connection.timeout=1000
123
124
125# =========================
126# Secondary storage section
127# =========================
128# The classname of the driver; leave empty to disable secondary storage
129# secondary.storage.driver   = net.sf.basedb.core.InternalStorageController
130
131# Initialisation options to the seconday storage controller
132# The internal implementation wants a path to the secondary directory
133# secondary.storage.init     = /usr/local/base2/secondary
134
135# The interval (in seconds) between checks for new files to move
136# secondary.storage.interval = 3600
137
138# Comma-separated list of time values (hours:minutes) when the controller
139# should be executed; overrides the interval setting if present
140# secondary.storage.time = 18:15,07:30
141
142# =========================
143# Change history section
144# =========================
145
146# Class name of the changelog factory; leave empty to disable the changelog
147# changelog.factory = net.sf.basedb.core.log.db.DbLogManagerFactory
148
149# If the "Change history" tab should be visible in the web interface
150# or not. It is hidden by default.
151# changelog.show-in-web = true
152
153# If DB logger should log detailed information about which properties
154# that has been updated (default: false)
155# changelog.dblogger.detailed-properties = true
156
157# ==========================
158# SMTP server section
159# ==========================
160
161# SMTP server for outgoing mail. If not specified,
162# mail sending will be disabled
163# mail.server.host
164
165# The port number the SMTP server is listening on. If not
166# specified the default port is used (25 or 465 if ssl is enabled)
167# mail.server.port = 25
168
169# A flag to enable SSL encryption
170# mail.server.ssl = 0
171
172# A flag to enable TLS encryption
173# mail.server.tls = 0
174
175# Email to use in the "From" address. If not specified,
176# mail sending will be disabled
177# mail.from.email = noreply@mail.yourdomain
178
179# Name to use in the "From" address. If not specified,
180# a default value is created automatically using the
181# host name of the BASE server.
182# mail.from.name
183
184
185# =======================
186# Plug-ins and extensions
187# =======================
188
189# The path to the directory where external plugins are installed
190plugins.dir=/usr/local/base2/plugins
191
192# Set this flag to disable all external extensions
193extensions.disabled = false
194
195
196# ===============
197# General section
198# ===============
199
200# The path to the directory where uploaded files are stored
201userfiles = /usr/local/base2/files
202
203# Number of minutes to keep permission information for the logged
204# in user in memory before it is reloaded from the database.
205permission.timeout = 10
206
207# Number of minutes to keep SessionControl object in the cache
208# after the last use
209cache.timeout = 20
210
211# If the static cache should be disabled or enabled
212# Disabling the static cache may reduce performance for
213# certain operations
214cache.static.disabled = false
215
216# Timeout (in days) for items in the static cache
217# Items that hasn't been accessed in the configured amount of
218# of time will be removed from the cache
219cache.static.max-age = 30
220
221#Overwrite the existing help texts when updating the program
222helptext.update = true
223
224# Set to 1 to disable auto-compression of uploaded files
225autocompress.disable = 0
226
227# Locale settings are used to customize gui text and labels
228# locale.language =
229# locale.country =
230# locacle.variant =
231
232# The default character set that will be used to parse text files that
233# hasn't specified a character set. The default value for this setting
234# is ISO-8859-1.
235#
236# defaultCharset = ISO-8859-1
237
238# A comma-separated list of the most commonly used character sets for text
239# files. This list is used to order selection lists so that the common values
240# are listed at the top of the list.
241#
242# commonCharsets = UTF-8,US-ASCII,ISO-8859-1
243
244# A regular expression that used to filter character sets that are not used
245# in order to keep the selection list shorter. If no value is specified all
246# character sets are included. The standard setting will filter out all
247# character sets starting with 'x-' or 'IBM'. Character sets that are specified
248# in the commonCharsets setting are never filtered.
249#
250ignoreCharsets = ((x|X)\-|IBM).*
251
252
253# ===============
254# SSL section
255# ===============
256# Configuration settings for supporting file access via https.
257# Changes are only needed if authentication is needed or if, for example,
258# files are stored on servers with self-signed certificates.
259
260# ssl.context.protocol = TLS
261# ssl.context.provider =
262# ssl.keystore.file =
263# ssl.keystore.password =
264# ssl.keystore.type = JKS
265# ssl.keystore.algorithm = SunX509
266# ssl.keystore.provider =
267# ssl.truststore.file = <java-home>/jre/lib/security/cacerts
268# ssl.truststore.password = changeit
269# ssl.truststore.type = JKS
270# ssl.truststore.algorithm = PKIX
271# ssl.truststore.provider =
272
Note: See TracBrowser for help on using the repository browser.