margaretha | 56e8e55 | 2017-12-05 16:31:21 +0100 | [diff] [blame] | 1 | #Krill |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 2 | krill.indexDir= ../sample-index |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 3 | |
| 4 | krill.index.commit.count = 134217000 |
| 5 | krill.index.commit.log = log/krill.commit.log |
| 6 | krill.index.commit.auto = 500 |
| 7 | krill.index.relations.max = 100 |
margaretha | 1b32045 | 2018-08-02 16:56:25 +0200 | [diff] [blame] | 8 | ## Directory path of virtual corpora to cache |
margaretha | 51e5e3f | 2018-10-17 15:10:03 +0200 | [diff] [blame] | 9 | #krill.namedVC = vc |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 10 | |
margaretha | 56e8e55 | 2017-12-05 16:31:21 +0100 | [diff] [blame] | 11 | ## LDAP |
| 12 | ldap.config = file-path-to-ldap-config |
| 13 | |
| 14 | # Kustvakt |
margaretha | 2ea9a1e | 2019-01-11 16:37:21 +0100 | [diff] [blame] | 15 | current.api.version = v1.0 |
margaretha | ee0cbfe | 2018-08-28 17:47:14 +0200 | [diff] [blame] | 16 | # multiple versions separated by space |
margaretha | 2ea9a1e | 2019-01-11 16:37:21 +0100 | [diff] [blame] | 17 | # supported.api.version = v1.0 |
margaretha | ee0cbfe | 2018-08-28 17:47:14 +0200 | [diff] [blame] | 18 | |
margaretha | aecee1b | 2018-02-20 14:44:21 +0100 | [diff] [blame] | 19 | ## server |
| 20 | server.port=8089 |
| 21 | server.host=localhost |
| 22 | |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 23 | ## mail settings |
| 24 | mail.enabled = false |
margaretha | a86b141 | 2018-02-21 20:40:35 +0100 | [diff] [blame] | 25 | mail.receiver = test@localhost |
margaretha | aecee1b | 2018-02-20 14:44:21 +0100 | [diff] [blame] | 26 | mail.sender = noreply@ids-mannheim.de |
margaretha | 7d0165c | 2018-02-26 15:31:37 +0100 | [diff] [blame] | 27 | mail.address.retrieval = test |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 28 | |
margaretha | a86b141 | 2018-02-21 20:40:35 +0100 | [diff] [blame] | 29 | ## mail.templates |
| 30 | template.group.invitation = notification.vm |
| 31 | |
margaretha | 4fa4b06 | 2019-01-28 19:43:30 +0100 | [diff] [blame] | 32 | ## default foundries for specific layers |
| 33 | default.foundry.partOfSpeech = tt |
| 34 | default.foundry.lemma = tt |
| 35 | default.foundry.orthography = opennlp |
| 36 | default.foundry.dependency = malt |
| 37 | default.foundry.constituent = corenlp |
| 38 | default.foundry.morphology = marmot |
margaretha | 798e8bd | 2019-02-06 15:48:58 +0100 | [diff] [blame] | 39 | default.foundry.surface = base |
margaretha | c38c856 | 2017-11-21 19:02:08 +0100 | [diff] [blame] | 40 | |
margaretha | 2c019fa | 2018-02-01 19:50:51 +0100 | [diff] [blame] | 41 | ## delete configuration (default hard) |
| 42 | # delete.auto.group = hard |
| 43 | delete.group = soft |
| 44 | delete.group.member = soft |
| 45 | |
margaretha | 56e8e55 | 2017-12-05 16:31:21 +0100 | [diff] [blame] | 46 | ## availability regex |
margaretha | dfecb4b | 2017-12-12 19:32:30 +0100 | [diff] [blame] | 47 | ## only support | |
margaretha | c38c856 | 2017-11-21 19:02:08 +0100 | [diff] [blame] | 48 | availability.regex.free = CC-BY.* |
margaretha | 351f769 | 2019-02-06 19:36:52 +0100 | [diff] [blame] | 49 | availability.regex.public = ACA.*|QAO.NC |
margaretha | c38c856 | 2017-11-21 19:02:08 +0100 | [diff] [blame] | 50 | availability.regex.all = QAO.* |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 51 | |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 52 | ## options referring to the security module! |
| 53 | |
margaretha | 6374f72 | 2018-04-17 18:45:57 +0200 | [diff] [blame] | 54 | ## OAuth |
| 55 | ### (see de.ids_mannheim.korap.constant.AuthenticationMethod for possible |
| 56 | ### oauth.password.authentication values) |
| 57 | oauth.password.authentication = TEST |
margaretha | 2618beb | 2020-01-24 14:12:28 +0100 | [diff] [blame] | 58 | ### used to determine native client, currently not used |
margaretha | be4c5c9 | 2018-05-03 18:55:49 +0200 | [diff] [blame] | 59 | oauth2.native.client.host = korap.ids-mannheim.de |
margaretha | 064eb6f | 2018-07-10 18:33:01 +0200 | [diff] [blame] | 60 | oauth2.max.attempts = 1 |
| 61 | # expiry in seconds (S), minutes (M), hours (H), days (D) |
| 62 | oauth2.access.token.expiry = 1D |
| 63 | oauth2.refresh.token.expiry = 90D |
| 64 | oauth2.authorization.code.expiry = 10M |
margaretha | be4c5c9 | 2018-05-03 18:55:49 +0200 | [diff] [blame] | 65 | # -- scopes separated by space |
margaretha | 20f3123 | 2018-07-09 17:49:39 +0200 | [diff] [blame] | 66 | oauth2.default.scopes = search match_info |
margaretha | d7cab21 | 2018-07-02 19:01:43 +0200 | [diff] [blame] | 67 | oauth2.client.credentials.scopes = client_info |
margaretha | 6374f72 | 2018-04-17 18:45:57 +0200 | [diff] [blame] | 68 | |
margaretha | 33fa3d9 | 2018-07-26 13:50:17 +0200 | [diff] [blame] | 69 | ## see SecureRandom Number Generation Algorithms |
| 70 | ## default SHA1PRNG |
| 71 | security.secure.random.algorithm=SHA1PRNG |
| 72 | |
| 73 | ## see MessageDigest Algorithms |
| 74 | ## default MD5 |
| 75 | security.md.algoritm = SHA-256 |
| 76 | |
margaretha | 2618beb | 2020-01-24 14:12:28 +0100 | [diff] [blame] | 77 | ### secure hash support: BCRYPT |
margaretha | 33fa3d9 | 2018-07-26 13:50:17 +0200 | [diff] [blame] | 78 | security.secure.hash.algorithm=BCRYPT |
margaretha | 2618beb | 2020-01-24 14:12:28 +0100 | [diff] [blame] | 79 | security.encryption.loadFactor = 10 |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 80 | |
margaretha | 2618beb | 2020-01-24 14:12:28 +0100 | [diff] [blame] | 81 | # JWT |
| 82 | security.jwt.issuer=korap.ids-mannheim.de |
| 83 | security.sharedSecret=this-is-shared-secret-code-for-JWT-Signing.It-must-contains-minimum-256-bits |
| 84 | |
| 85 | ## token expiration (used in other authentication provider than OAuth2) |
| 86 | security.longTokenTTL=150D |
| 87 | security.tokenTTL=72H |
| 88 | security.shortTokenTTL=45M |
| 89 | |
| 90 | # Session authentication |
margaretha | fc9e407 | 2017-08-29 18:34:01 +0200 | [diff] [blame] | 91 | security.idleTimeoutDuration = 25M |
| 92 | security.multipleLogIn = true |
| 93 | security.loginAttemptNum = 3 |
| 94 | security.authAttemptTTL = 45M |
| 95 | |
margaretha | 2618beb | 2020-01-24 14:12:28 +0100 | [diff] [blame] | 96 | #EM: deprecated and not used |
| 97 | #security.validation.stringLength = 150 |
| 98 | #security.validation.emailLength = 50 |