blob: 317b7208f00d9a2a7ea9486009713b06d49befbf [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
31# Mail settings
32#
33mail.enabled = false
34mail.receiver = test@localhost
35mail.sender = noreply@ids-mannheim.de
36mail.address.retrieval = test
37
38# Mail.templates
39#
40template.group.invitation = notification.vm
41
42# Default foundries for specific layers (optional)
43#
44default.foundry.partOfSpeech = tt
45default.foundry.lemma = tt
46default.foundry.orthography = opennlp
47default.foundry.dependency = malt
48default.foundry.constituent = corenlp
49default.foundry.morphology = marmot
50default.foundry.surface = base
51
52# Delete configuration (default hard)
53#
54# delete.auto.group = hard
margaretha291cf402024-07-18 09:49:15 +020055#delete.group = soft
margarethafbfe2872024-01-04 23:29:28 +010056delete.group.member = soft
57
58# Virtual corpus and queries
59max.user.persistent.queries = 5
60
61# Availability regex only support |
62# It should be removed/commented when the data doesn't contain availability field.
63#
Marc Kupietze4528ee2024-07-04 16:28:37 +020064availability.regex.free = CC.*
margarethafbfe2872024-01-04 23:29:28 +010065availability.regex.public = ACA.*|QAO-NC
66availability.regex.all = QAO.*
67
68
margarethafbfe2872024-01-04 23:29:28 +010069# options referring to the security module!
70
71# OAuth
72# (see de.ids_mannheim.korap.constant.AuthenticationMethod for possible
73# oauth.password.authentication values)
74#
75oauth2.password.authentication = TEST
76oauth2.native.client.host = korap.ids-mannheim.de
77oauth2.max.attempts = 2
78# expiry in seconds (S), minutes (M), hours (H), days (D)
79oauth2.access.token.expiry = 3M
80oauth2.refresh.token.expiry = 90D
81oauth2.authorization.code.expiry = 10M
82# -- scopes separated by space
83oauth2.default.scopes = search match_info
84oauth2.client.credentials.scopes = client_info
85
86oauth2.initial.super.client=true
87
88
89# see SecureRandom Number Generation Algorithms
90# optional
91security.secure.random.algorithm=SHA1PRNG
92
93# see MessageDigest Algorithms
94# default MD5
95security.md.algoritm = SHA-256
96
97# secure hash support: BCRYPT
98security.secure.hash.algorithm=BCRYPT
99security.encryption.loadFactor = 10
100
101# DEPRECATED
102# JWT
103security.jwt.issuer=https://korap.ids-mannheim.de
104security.sharedSecret=this-is-shared-secret-code-for-JWT-Signing.It-must-contains-minimum-256-bits
105
106# token expiration time
107security.longTokenTTL = 1D
108security.tokenTTL = 2S
109security.shortTokenTTL = 1S
110
111# Session authentication
112security.idleTimeoutDuration = 25M
113security.multipleLogIn = true
114security.loginAttemptNum = 3
115security.authAttemptTTL = 45M