blob: 61cad262cb908f6d24f4e344c6ee5b5473097056 [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
margaretha70536f52025-10-07 09:15:22 +020040# Virtual corpus and queries
41max.user.persistent.queries = 5
42vc.list.statistics.enabled = false
margarethafbfe2872024-01-04 23:29:28 +010043
44# Availability regex only support |
45# It should be removed/commented when the data doesn't contain availability field.
46#
Marc Kupietze4528ee2024-07-04 16:28:37 +020047availability.regex.free = CC.*
margarethafbfe2872024-01-04 23:29:28 +010048availability.regex.public = ACA.*|QAO-NC
49availability.regex.all = QAO.*
50
margarethafbfe2872024-01-04 23:29:28 +010051# options referring to the security module!
52
53# OAuth
54# (see de.ids_mannheim.korap.constant.AuthenticationMethod for possible
55# oauth.password.authentication values)
56oauth2.password.authentication = LDAP
57# used to determine native client, currently not used
58# oauth2.native.client.host = korap.ids-mannheim.de
59oauth2.max.attempts = 1
60# expiry in seconds (S), minutes (M), hours (H), days (D)
61oauth2.access.token.expiry = 1D
62oauth2.refresh.token.expiry = 90D
63# default 365D
64# oauth2.access.token.long.expiry = 365D
65# oauth2.refresh.token.long.expiry = 365D
66oauth2.authorization.code.expiry = 10M
67# scopes separated by space
68oauth2.default.scopes = search match_info
69oauth2.client.credentials.scopes = client_info
70
71## see SecureRandom Number Generation Algorithms
72## optional
73# security.secure.random.algorithm=SHA1PRNG
74
75## see MessageDigest Algorithms
76## default MD5
77security.md.algoritm = SHA-256
78
79### secure hash support: BCRYPT
80security.secure.hash.algorithm=BCRYPT
81security.encryption.loadFactor = 10
82
83# DEPRECATED
84# JWT
85security.jwt.issuer=korap.ids-mannheim.de
86security.sharedSecret=this-is-shared-secret-code-for-JWT-Signing.It-must-contains-minimum-256-bits
87
88## token expiration (used in other authentication provider than OAuth2)
89security.longTokenTTL=150D
90security.tokenTTL=72H
91security.shortTokenTTL=45M
92
93# Session authentication
94security.idleTimeoutDuration = 25M
95security.multipleLogIn = true
96security.loginAttemptNum = 3
97security.authAttemptTTL = 45M