blob: e90c513f7e18ba19dc1cbcaab3cee6e676885a77 [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
24# mail settings
25mail.enabled = false
26mail.receiver = test@localhost
27mail.sender = noreply@ids-mannheim.de
28mail.address.retrieval = test
29
30# mail.templates
31template.group.invitation = notification.vm
32
33# default foundries for specific layers
34default.foundry.partOfSpeech = tt
35default.foundry.lemma = tt
36default.foundry.orthography = opennlp
37default.foundry.dependency = malt
38default.foundry.constituent = corenlp
39default.foundry.morphology = marmot
40default.foundry.surface = base
41
42# delete configuration (default hard)
43# delete.auto.group = hard
44delete.group = soft
45delete.group.member = soft
46
47
48# Availability regex only support |
49# It should be removed/commented when the data doesn't contain availability field.
50#
Marc Kupietze4528ee2024-07-04 16:28:37 +020051availability.regex.free = CC.*
margarethafbfe2872024-01-04 23:29:28 +010052availability.regex.public = ACA.*|QAO-NC
53availability.regex.all = QAO.*
54
margarethafbfe2872024-01-04 23:29:28 +010055# options referring to the security module!
56
57# OAuth
58# (see de.ids_mannheim.korap.constant.AuthenticationMethod for possible
59# oauth.password.authentication values)
60oauth2.password.authentication = LDAP
61# used to determine native client, currently not used
62# oauth2.native.client.host = korap.ids-mannheim.de
63oauth2.max.attempts = 1
64# expiry in seconds (S), minutes (M), hours (H), days (D)
65oauth2.access.token.expiry = 1D
66oauth2.refresh.token.expiry = 90D
67# default 365D
68# oauth2.access.token.long.expiry = 365D
69# oauth2.refresh.token.long.expiry = 365D
70oauth2.authorization.code.expiry = 10M
71# scopes separated by space
72oauth2.default.scopes = search match_info
73oauth2.client.credentials.scopes = client_info
74
75## see SecureRandom Number Generation Algorithms
76## optional
77# security.secure.random.algorithm=SHA1PRNG
78
79## see MessageDigest Algorithms
80## default MD5
81security.md.algoritm = SHA-256
82
83### secure hash support: BCRYPT
84security.secure.hash.algorithm=BCRYPT
85security.encryption.loadFactor = 10
86
87# DEPRECATED
88# JWT
89security.jwt.issuer=korap.ids-mannheim.de
90security.sharedSecret=this-is-shared-secret-code-for-JWT-Signing.It-must-contains-minimum-256-bits
91
92## token expiration (used in other authentication provider than OAuth2)
93security.longTokenTTL=150D
94security.tokenTTL=72H
95security.shortTokenTTL=45M
96
97# Session authentication
98security.idleTimeoutDuration = 25M
99security.multipleLogIn = true
100security.loginAttemptNum = 3
101security.authAttemptTTL = 45M