blob: d7fbf7d85250dd5c3513a58b79662d27375f391e [file] [log] [blame]
margaretha56e8e552017-12-05 16:31:21 +01001#Krill
margarethaf68daa62017-09-21 02:11:24 +02002krill.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
margarethaaecee1b2018-02-20 14:44:21 +010015## server
16server.port=8089
17server.host=localhost
18
margaretha58e18632018-02-15 13:04:42 +010019## mail settings
20mail.enabled = false
margarethaa86b1412018-02-21 20:40:35 +010021mail.receiver = test@localhost
margarethaaecee1b2018-02-20 14:44:21 +010022mail.sender = noreply@ids-mannheim.de
margaretha7d0165c2018-02-26 15:31:37 +010023mail.address.retrieval = test
margaretha58e18632018-02-15 13:04:42 +010024
margarethaa86b1412018-02-21 20:40:35 +010025## mail.templates
26template.group.invitation = notification.vm
27
margaretha56e8e552017-12-05 16:31:21 +010028## default layers
margaretha6fca7292018-03-13 13:19:00 +010029default.layer.partOfSpeech = tt
30default.layer.lemma = tt
31default.layer.orthography = opennlp
32default.layer.dependency = mate
33default.layer.constituent = corenlp
margarethac38c8562017-11-21 19:02:08 +010034
margaretha2c019fa2018-02-01 19:50:51 +010035## delete configuration (default hard)
36# delete.auto.group = hard
37delete.group = soft
38delete.group.member = soft
39
margaretha56e8e552017-12-05 16:31:21 +010040## availability regex
margarethadfecb4b2017-12-12 19:32:30 +010041## only support |
margarethac38c8562017-11-21 19:02:08 +010042availability.regex.free = CC-BY.*
margarethaad618d22017-12-11 19:58:49 +010043availability.regex.public = ACA.* | QAO.NC
margarethac38c8562017-11-21 19:02:08 +010044availability.regex.all = QAO.*
margarethafc9e4072017-08-29 18:34:01 +020045
margarethafc9e4072017-08-29 18:34:01 +020046## options referring to the security module!
47
margaretha6374f722018-04-17 18:45:57 +020048## OAuth
49### (see de.ids_mannheim.korap.constant.AuthenticationMethod for possible
50### oauth.password.authentication values)
51oauth.password.authentication = TEST
margarethabe4c5c92018-05-03 18:55:49 +020052oauth2.native.client.host = korap.ids-mannheim.de
margaretha064eb6f2018-07-10 18:33:01 +020053oauth2.max.attempts = 1
54# expiry in seconds (S), minutes (M), hours (H), days (D)
55oauth2.access.token.expiry = 1D
56oauth2.refresh.token.expiry = 90D
57oauth2.authorization.code.expiry = 10M
margarethabe4c5c92018-05-03 18:55:49 +020058# -- scopes separated by space
margaretha20f31232018-07-09 17:49:39 +020059oauth2.default.scopes = search match_info
margarethad7cab212018-07-02 19:01:43 +020060oauth2.client.credentials.scopes = client_info
margaretha6374f722018-04-17 18:45:57 +020061
62# JWT
63security.jwt.issuer=korap.ids-mannheim.de
64
65## token expiration
margarethafc9e4072017-08-29 18:34:01 +020066security.longTokenTTL=150D
67security.tokenTTL=72H
68security.shortTokenTTL=45M
69
margaretha33fa3d92018-07-26 13:50:17 +020070## see SecureRandom Number Generation Algorithms
71## default SHA1PRNG
72security.secure.random.algorithm=SHA1PRNG
73
74## see MessageDigest Algorithms
75## default MD5
76security.md.algoritm = SHA-256
77
78### secure hash support: BCRYPT, ESAPICYPHER
79security.secure.hash.algorithm=BCRYPT
margarethafc9e4072017-08-29 18:34:01 +020080security.passcode.salt=salt
81
82security.idleTimeoutDuration = 25M
83security.multipleLogIn = true
84security.loginAttemptNum = 3
85security.authAttemptTTL = 45M
86
87security.encryption.loadFactor = 8
88security.validation.stringLength = 150
89security.validation.emailLength = 50
margarethae4034a82018-07-02 14:46:59 +020090security.sharedSecret=this-is-shared-secret-code-for-JWT-Signing.It-must-contains-minimum-256-bits
margarethafc9e4072017-08-29 18:34:01 +020091security.adminToken=adminToken
92
93## applicable: rewrite, foundry, filter, deny
94security.rewrite.strategies=filter, foundry, rewrite