blob: 1072e637b9803ee7ff0485a5260285e74c289456 [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
17# multiple versions separated by space
18# supported.api.version = v1.0
19
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
55
56# Define resource filters for search and match info API
57# AuthenticationFilter activates authentication using OAuth2 tokens
58# DemoUserFilter allows access to API without login
59#
60# Default values: AuthenticationFilter,DemoUserFilter
61#
62search.resource.filters=AuthenticationFilter,DemoUserFilter
63
64
65
66# options referring to the security module!
67
68# OAuth
69# (see de.ids_mannheim.korap.constant.AuthenticationMethod for possible
70# oauth.password.authentication values)
71oauth2.password.authentication = LDAP
72# used to determine native client, currently not used
73# oauth2.native.client.host = korap.ids-mannheim.de
74oauth2.max.attempts = 1
75# expiry in seconds (S), minutes (M), hours (H), days (D)
76oauth2.access.token.expiry = 1D
77oauth2.refresh.token.expiry = 90D
78# default 365D
79# oauth2.access.token.long.expiry = 365D
80# oauth2.refresh.token.long.expiry = 365D
81oauth2.authorization.code.expiry = 10M
82# scopes separated by space
83oauth2.default.scopes = search match_info
84oauth2.client.credentials.scopes = client_info
85
86## see SecureRandom Number Generation Algorithms
87## optional
88# security.secure.random.algorithm=SHA1PRNG
89
90## see MessageDigest Algorithms
91## default MD5
92security.md.algoritm = SHA-256
93
94### secure hash support: BCRYPT
95security.secure.hash.algorithm=BCRYPT
96security.encryption.loadFactor = 10
97
98# DEPRECATED
99# JWT
100security.jwt.issuer=korap.ids-mannheim.de
101security.sharedSecret=this-is-shared-secret-code-for-JWT-Signing.It-must-contains-minimum-256-bits
102
103## token expiration (used in other authentication provider than OAuth2)
104security.longTokenTTL=150D
105security.tokenTTL=72H
106security.shortTokenTTL=45M
107
108# Session authentication
109security.idleTimeoutDuration = 25M
110security.multipleLogIn = true
111security.loginAttemptNum = 3
112security.authAttemptTTL = 45M