blob: e45ea32fc9948954ae6ecde7d5b52013d0aa0fc2 [file] [log] [blame]
margarethafbfe2872024-01-04 23:29:28 +01001#Krill
2krill.indexDir= sample-index
3
4krill.index.commit.count = 134217000
5krill.index.commit.log = log/krill.commit.log
6krill.index.commit.auto = 500
7krill.index.relations.max = 100
8# Directory path of virtual corpora to cache
margaretha390f37d2024-04-22 12:07:34 +02009#krill.namedVC = data/vc
margarethafbfe2872024-01-04 23:29:28 +010010
11# LDAP
12ldap.config = src/main/resources/embedded-ldap-example.conf
13
14# Kustvakt
15api.welcome.message = Welcome to KorAP API!
16current.api.version = v1.0
margarethacdd26e62024-07-12 12:40:26 +020017# multiple versions comma separated
18# supported.api.versions = v1.0
margarethafbfe2872024-01-04 23:29:28 +010019
20# server
21server.port=8089
22server.host=localhost
23
margaretha4fc0ce62025-07-16 09:03:45 +020024# Timeout
25# timeout.guest = 10000 (default)
26# timeout.login = 90000 (default)
27
margarethaca9a3242025-06-24 09:11:50 +020028# Pipe (optional)
margarethad0f36512025-07-04 11:06:10 +020029# pipe.host=https://korap.ids-mannheim.de
margarethaca9a3242025-06-24 09:11:50 +020030
margarethafbfe2872024-01-04 23:29:28 +010031# default foundries for specific layers
32default.foundry.partOfSpeech = tt
33default.foundry.lemma = tt
34default.foundry.orthography = opennlp
35default.foundry.dependency = malt
36default.foundry.constituent = corenlp
37default.foundry.morphology = marmot
38default.foundry.surface = base
39
margarethafbfe2872024-01-04 23:29:28 +010040
41# Availability regex only support |
42# It should be removed/commented when the data doesn't contain availability field.
43#
Marc Kupietze4528ee2024-07-04 16:28:37 +020044availability.regex.free = CC.*
margarethafbfe2872024-01-04 23:29:28 +010045availability.regex.public = ACA.*|QAO-NC
46availability.regex.all = QAO.*
47
margarethafbfe2872024-01-04 23:29:28 +010048# options referring to the security module!
49
50# OAuth
51# (see de.ids_mannheim.korap.constant.AuthenticationMethod for possible
52# oauth.password.authentication values)
53oauth2.password.authentication = LDAP
54# used to determine native client, currently not used
55# oauth2.native.client.host = korap.ids-mannheim.de
56oauth2.max.attempts = 1
57# expiry in seconds (S), minutes (M), hours (H), days (D)
58oauth2.access.token.expiry = 1D
59oauth2.refresh.token.expiry = 90D
60# default 365D
61# oauth2.access.token.long.expiry = 365D
62# oauth2.refresh.token.long.expiry = 365D
63oauth2.authorization.code.expiry = 10M
64# scopes separated by space
65oauth2.default.scopes = search match_info
66oauth2.client.credentials.scopes = client_info
67
68## see SecureRandom Number Generation Algorithms
69## optional
70# security.secure.random.algorithm=SHA1PRNG
71
72## see MessageDigest Algorithms
73## default MD5
74security.md.algoritm = SHA-256
75
76### secure hash support: BCRYPT
77security.secure.hash.algorithm=BCRYPT
78security.encryption.loadFactor = 10
79
80# DEPRECATED
81# JWT
82security.jwt.issuer=korap.ids-mannheim.de
83security.sharedSecret=this-is-shared-secret-code-for-JWT-Signing.It-must-contains-minimum-256-bits
84
85## token expiration (used in other authentication provider than OAuth2)
86security.longTokenTTL=150D
87security.tokenTTL=72H
88security.shortTokenTTL=45M
89
90# Session authentication
91security.idleTimeoutDuration = 25M
92security.multipleLogIn = true
93security.loginAttemptNum = 3
94security.authAttemptTTL = 45M