blob: 79e472a367c8615baec6b00bb71fbbc577ae5f6d [file] [log] [blame]
margarethafbfe2872024-01-04 23:29:28 +01001# index dir
2krill.indexDir = wiki-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
margarethaec884172025-03-24 10:14:26 +01009krill.namedVC = vc
margarethafbfe2872024-01-04 23:29:28 +010010krill.test = true
11
12# LDAP
13ldap.config = src/test/resources/test-ldap.conf
14
15# Kustvakt
margarethacdd26e62024-07-12 12:40:26 +020016# multiple versions comma separated
margarethafbfe2872024-01-04 23:29:28 +010017current.api.version = v1.0
margarethacdd26e62024-07-12 12:40:26 +020018supported.api.versions = v1.0
margarethafbfe2872024-01-04 23:29:28 +010019
20# server
21server.port=8089
22server.host=localhost
23
margarethafbfe2872024-01-04 23:29:28 +010024# default foundries for specific layers
25default.foundry.partOfSpeech = tt
26default.foundry.lemma = tt
27default.foundry.orthography = opennlp
28default.foundry.dependency = malt
29default.foundry.constituent = corenlp
30default.foundry.morphology = marmot
31default.foundry.surface = base
32
margarethafbfe2872024-01-04 23:29:28 +010033# availability regex only support |
34# It should be removed/commented when the data doesn't contain availability field.
35#
Marc Kupietze4528ee2024-07-04 16:28:37 +020036# availability.regex.free = CC.*
margarethafbfe2872024-01-04 23:29:28 +010037# availability.regex.public = ACA.*|QAO-NC
38# availability.regex.all = QAO.*
39
40
41# Define resource filters for search and match info web-services
42#
43# AuthenticationFilter activates authentication using OAuth2 tokens
44# DemoUserFilter allows access to the services without login
45#
46# Default values: AuthenticationFilter,DemoUserFilter
47#
margaretha7cb68a12024-07-11 12:28:22 +020048#search.resource.filters=AuthenticationFilter
49login.required = true
margarethafbfe2872024-01-04 23:29:28 +010050
51
52# options referring to the security module!
53
54# OAuth
55# (see de.ids_mannheim.korap.constant.AuthenticationMethod for possible
56# oauth.password.authentication values)
57oauth2.password.authentication = TEST
58oauth2.native.client.host = korap.ids-mannheim.de
59oauth2.max.attempts = 2
60# expiry in seconds (S), minutes (M), hours (H), days (D)
61oauth2.access.token.expiry = 3M
62oauth2.refresh.token.expiry = 90D
63oauth2.authorization.code.expiry = 10M
64# -- scopes separated by space
65oauth2.default.scopes = search match_info
66oauth2.client.credentials.scopes = client_info
67
68oauth2.initial.super.client=true
69
70# see SecureRandom Number Generation Algorithms
71# optional
72security.secure.random.algorithm=SHA1PRNG
73
74# see MessageDigest Algorithms
75# default MD5
76security.md.algoritm = SHA-256
77
78# secure hash support: BCRYPT
79security.secure.hash.algorithm=BCRYPT
80security.encryption.loadFactor = 10
81
82
83# DEPRECATED
84# JWT
85security.jwt.issuer=https://korap.ids-mannheim.de
86security.sharedSecret=this-is-shared-secret-code-for-JWT-Signing.It-must-contains-minimum-256-bits
87
88# token expiration time
89security.longTokenTTL = 1D
90security.tokenTTL = 2S
91security.shortTokenTTL = 1S