blob: b3d2985eb371687804366793a39fb34df3c040cd [file] [log] [blame]
margarethafc9e4072017-08-29 18:34:01 +02001## index dir
margarethacfea1ae2018-01-15 20:27:26 +01002krill.indexDir = ../sample-index
margarethafc9e4072017-08-29 18:34:01 +02003
4krill.index.commit.count = 134217000
5krill.index.commit.log = log/krill.commit.log
6krill.index.commit.auto = 500
7krill.index.relations.max = 100
margaretha1b320452018-08-02 16:56:25 +02008## Directory path of virtual corpora to cache
9krill.namedVC = vc
margarethafc9e4072017-08-29 18:34:01 +020010
margaretha56e8e552017-12-05 16:31:21 +010011#LDAP
12ldap.config = file-path-to-ldap-config
13
14# Kustvakt
margarethaee0cbfe2018-08-28 17:47:14 +020015# multiple versions separated by space
margaretha34954472018-10-24 20:05:17 +020016current.api.version = v1.1
margarethaee0cbfe2018-08-28 17:47:14 +020017supported.api.version = v0.1 v1.0
18
margaretha56e8e552017-12-05 16:31:21 +010019## server
20server.port=8089
21server.host=localhost
22
margarethaa86b1412018-02-21 20:40:35 +010023## mail settings
24mail.enabled = false
25mail.receiver = test@localhost
26mail.sender = noreply@ids-mannheim.de
margaretha7d0165c2018-02-26 15:31:37 +010027mail.address.retrieval = test
margarethaa86b1412018-02-21 20:40:35 +010028
29## mail.templates
30template.group.invitation = notification.vm
31
margaretha4fa4b062019-01-28 19:43:30 +010032## default foundries for specific layers
33default.foundry.partOfSpeech = tt
34default.foundry.lemma = tt
35default.foundry.orthography = opennlp
36default.foundry.dependency = malt
37default.foundry.constituent = corenlp
38default.foundry.morphology = marmot
margarethafc9e4072017-08-29 18:34:01 +020039
margaretha2c019fa2018-02-01 19:50:51 +010040## delete configuration (default hard)
41# delete.auto.group = hard
42delete.group = soft
43delete.group.member = soft
44
margaretha56e8e552017-12-05 16:31:21 +010045## availability regex
margarethadfecb4b2017-12-12 19:32:30 +010046## only support |
margarethac38c8562017-11-21 19:02:08 +010047availability.regex.free = CC-BY.*
margarethaad618d22017-12-11 19:58:49 +010048availability.regex.public = ACA.* | QAO-NC
margarethac38c8562017-11-21 19:02:08 +010049availability.regex.all = QAO.*
margarethafc9e4072017-08-29 18:34:01 +020050
margarethafc9e4072017-08-29 18:34:01 +020051## options referring to the security module!
52
margaretha9c78e1a2018-06-27 14:12:35 +020053## OAuth
margaretha6374f722018-04-17 18:45:57 +020054### (see de.ids_mannheim.korap.constant.AuthenticationMethod for possible
55### oauth.password.authentication values)
margaretha9c78e1a2018-06-27 14:12:35 +020056oauth2.password.authentication = TEST
57oauth2.native.client.host = korap.ids-mannheim.de
margarethabe4c5c92018-05-03 18:55:49 +020058oauth2.max.attempts = 2
margaretha064eb6f2018-07-10 18:33:01 +020059# expiry in seconds (S), minutes (M), hours (H), days (D)
margaretha85273f12019-02-04 18:13:17 +010060oauth2.access.token.expiry = 3M
margaretha064eb6f2018-07-10 18:33:01 +020061oauth2.refresh.token.expiry = 90D
62oauth2.authorization.code.expiry = 10M
margarethabe4c5c92018-05-03 18:55:49 +020063# -- scopes separated by space
margaretha20f31232018-07-09 17:49:39 +020064oauth2.default.scopes = openid search match_info
margaretha9c78e1a2018-06-27 14:12:35 +020065oauth2.client.credentials.scopes = client_info
66
67## OpenId
68### multiple values are separated by space
69openid.grant.types = authorization_code
70openid.response.types = code
71openid.response.modes = query
72openid.client.auth.methods = client_secret_basic client_secret_post
73openid.token.signing.algorithms = RS256
74openid.subject.types = public
75openid.display.types = page
margarethaa2ce63d2018-06-28 10:11:43 +020076openid.supported.scopes = openid email auth_time
margaretha9c78e1a2018-06-27 14:12:35 +020077openid.support.claim.param = false
78openid.claim.types = normal
79openid.supported.claims = iss sub aud exp iat
80openid.ui.locales = en
81#openid.privacy.policy =
82#openid.term.of.service =
83openid.service.doc = https://github.com/KorAP/Kustvakt/wiki
margaretha6374f722018-04-17 18:45:57 +020084
margaretha19295962018-06-26 16:00:47 +020085## JWT
margaretha9c78e1a2018-06-27 14:12:35 +020086security.jwt.issuer=https://korap.ids-mannheim.de
margaretha6374f722018-04-17 18:45:57 +020087
margaretha19295962018-06-26 16:00:47 +020088## JWK
margaretha07a356a2018-07-11 19:12:21 +020089## must be set for openid
margaretha19295962018-06-26 16:00:47 +020090rsa.private = kustvakt_rsa.key
91rsa.public = kustvakt_rsa_public.key
92rsa.key.id = 74caa3a9-217c-49e6-94e9-2368fdd02c35
93
94## token expiration time
margarethafc9e4072017-08-29 18:34:01 +020095security.longTokenTTL = 1D
margaretha49cb6882018-07-04 04:19:54 +020096security.tokenTTL = 2S
97security.shortTokenTTL = 1S
margarethafc9e4072017-08-29 18:34:01 +020098
margaretha33fa3d92018-07-26 13:50:17 +020099## see SecureRandom Number Generation Algorithms
100## default SHA1PRNG
101security.secure.random.algorithm=SHA1PRNG
102
103## see MessageDigest Algorithms
104## default MD5
105security.md.algoritm = SHA-256
106
107### secure hash support: BCRYPT, ESAPICYPHER
108security.secure.hash.algorithm=BCRYPT
margarethaf18298b2017-09-14 22:14:32 +0200109security.passcode.salt=salt
margarethafc9e4072017-08-29 18:34:01 +0200110
111security.idleTimeoutDuration = 25M
112security.multipleLogIn = true
113security.loginAttemptNum = 3
114security.authAttemptTTL = 45M
115
116security.encryption.loadFactor = 8
117security.validation.stringLength = 150
118security.validation.emailLength = 50
margaretha33fa3d92018-07-26 13:50:17 +0200119
margarethae4034a82018-07-02 14:46:59 +0200120security.sharedSecret=this-is-shared-secret-code-for-JWT-Signing.It-must-contains-minimum-256-bits
margarethafc9e4072017-08-29 18:34:01 +0200121
122## applicable: rewrite, foundry, filter, deny
123security.rewrite.strategies=filter, foundry, rewrite