blob: a04847841dc5f12fe34289c6a535b11f48b49a99 [file] [log] [blame]
margarethafbfe2872024-01-04 23:29:28 +01001# Krill settings
2#
3krill.indexDir = sample-index
4
5krill.index.commit.count = 134217000
6krill.index.commit.log = log/krill.commit.log
7krill.index.commit.auto = 500
8krill.index.relations.max = 100
9# Directory path of virtual corpora to cache
10krill.namedVC = vc
11krill.test = true
12
margaretha46e2c952024-05-23 09:09:54 +020013krill.match.max.token=50
14krill.context.max.token=60
15
margarethafbfe2872024-01-04 23:29:28 +010016# LDAP configuration file
17#
18ldap.config = src/test/resources/test-ldap.conf
19
20# Kustvakt versions
21#
margarethacdd26e62024-07-12 12:40:26 +020022# multiple versions comma separated
margarethafbfe2872024-01-04 23:29:28 +010023current.api.version = v1.0
margarethacdd26e62024-07-12 12:40:26 +020024supported.api.versions = v0.1, v1.0
margarethafbfe2872024-01-04 23:29:28 +010025
26# Server
27#
28server.port=8089
29server.host=localhost
30
margarethae6ebfbc2024-10-07 08:39:42 +020031## Cache
32cache.total.results.enabled = true
33
margaretha66061bb2025-06-23 11:11:18 +020034# Pipe
35pipe.host=http://localhost
36
margarethafbfe2872024-01-04 23:29:28 +010037# Default foundries for specific layers (optional)
38#
39default.foundry.partOfSpeech = tt
40default.foundry.lemma = tt
41default.foundry.orthography = opennlp
42default.foundry.dependency = malt
43default.foundry.constituent = corenlp
44default.foundry.morphology = marmot
45default.foundry.surface = base
46
47# Delete configuration (default hard)
48#
49# delete.auto.group = hard
margaretha291cf402024-07-18 09:49:15 +020050#delete.group = soft
margarethafbfe2872024-01-04 23:29:28 +010051delete.group.member = soft
52
53# Virtual corpus and queries
54max.user.persistent.queries = 5
margarethad0f4af82024-11-19 12:13:24 +010055max.token.context.size = 40
margarethafbfe2872024-01-04 23:29:28 +010056
57# Availability regex only support |
58# It should be removed/commented when the data doesn't contain availability field.
59#
Marc Kupietze4528ee2024-07-04 16:28:37 +020060availability.regex.free = CC.*
margarethafbfe2872024-01-04 23:29:28 +010061availability.regex.public = ACA.*|QAO-NC
margaretha82c75c22024-12-11 09:36:50 +010062# The regex should be specific and make the access distinguishable
63# availability.regex.all = QAO.*
64availability.regex.all = QAO-NC-LOC:ids.*
margarethafbfe2872024-01-04 23:29:28 +010065
66
margarethafbfe2872024-01-04 23:29:28 +010067# options referring to the security module!
68
69# OAuth
70# (see de.ids_mannheim.korap.constant.AuthenticationMethod for possible
71# oauth.password.authentication values)
72#
73oauth2.password.authentication = TEST
74oauth2.native.client.host = korap.ids-mannheim.de
75oauth2.max.attempts = 2
76# expiry in seconds (S), minutes (M), hours (H), days (D)
77oauth2.access.token.expiry = 3M
78oauth2.refresh.token.expiry = 90D
79oauth2.authorization.code.expiry = 10M
80# -- scopes separated by space
81oauth2.default.scopes = search match_info
82oauth2.client.credentials.scopes = client_info
83
84oauth2.initial.super.client=true
85
86
87# see SecureRandom Number Generation Algorithms
88# optional
89security.secure.random.algorithm=SHA1PRNG
90
91# see MessageDigest Algorithms
92# default MD5
93security.md.algoritm = SHA-256
94
95# secure hash support: BCRYPT
96security.secure.hash.algorithm=BCRYPT
97security.encryption.loadFactor = 10
98
99# DEPRECATED
100# JWT
101security.jwt.issuer=https://korap.ids-mannheim.de
102security.sharedSecret=this-is-shared-secret-code-for-JWT-Signing.It-must-contains-minimum-256-bits
103
104# token expiration time
105security.longTokenTTL = 1D
106security.tokenTTL = 2S
107security.shortTokenTTL = 1S
108
109# Session authentication
110security.idleTimeoutDuration = 25M
111security.multipleLogIn = true
112security.loginAttemptNum = 3
113security.authAttemptTTL = 45M