| margaretha | fbfe287 | 2024-01-04 23:29:28 +0100 | [diff] [blame] | 1 | # index dir | 
|  | 2 | krill.indexDir = wiki-index | 
|  | 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 | 
|  | 8 | # Directory path of virtual corpora to cache | 
| margaretha | ec88417 | 2025-03-24 10:14:26 +0100 | [diff] [blame] | 9 | krill.namedVC = vc | 
| margaretha | fbfe287 | 2024-01-04 23:29:28 +0100 | [diff] [blame] | 10 | krill.test = true | 
|  | 11 |  | 
|  | 12 | # LDAP | 
|  | 13 | ldap.config = src/test/resources/test-ldap.conf | 
|  | 14 |  | 
|  | 15 | # Kustvakt | 
| margaretha | cdd26e6 | 2024-07-12 12:40:26 +0200 | [diff] [blame] | 16 | # multiple versions comma separated | 
| margaretha | fbfe287 | 2024-01-04 23:29:28 +0100 | [diff] [blame] | 17 | current.api.version = v1.0 | 
| margaretha | cdd26e6 | 2024-07-12 12:40:26 +0200 | [diff] [blame] | 18 | supported.api.versions = v1.0 | 
| margaretha | fbfe287 | 2024-01-04 23:29:28 +0100 | [diff] [blame] | 19 |  | 
|  | 20 | # server | 
|  | 21 | server.port=8089 | 
|  | 22 | server.host=localhost | 
|  | 23 |  | 
| margaretha | fbfe287 | 2024-01-04 23:29:28 +0100 | [diff] [blame] | 24 | # default foundries for specific layers | 
|  | 25 | default.foundry.partOfSpeech = tt | 
|  | 26 | default.foundry.lemma = tt | 
|  | 27 | default.foundry.orthography = opennlp | 
|  | 28 | default.foundry.dependency = malt | 
|  | 29 | default.foundry.constituent = corenlp | 
|  | 30 | default.foundry.morphology = marmot | 
|  | 31 | default.foundry.surface = base | 
|  | 32 |  | 
| margaretha | fbfe287 | 2024-01-04 23:29:28 +0100 | [diff] [blame] | 33 | # availability regex only support | | 
|  | 34 | # It should be removed/commented when the data doesn't contain availability field. | 
|  | 35 | # | 
| Marc Kupietz | e4528ee | 2024-07-04 16:28:37 +0200 | [diff] [blame] | 36 | # availability.regex.free = CC.* | 
| margaretha | fbfe287 | 2024-01-04 23:29:28 +0100 | [diff] [blame] | 37 | # availability.regex.public = ACA.*|QAO-NC | 
|  | 38 | # availability.regex.all = QAO.* | 
|  | 39 |  | 
|  | 40 |  | 
|  | 41 | # Define resource filters for search and match info web-services | 
|  | 42 | # | 
|  | 43 | # AuthenticationFilter activates authentication using OAuth2 tokens | 
|  | 44 | # DemoUserFilter allows access to the services without login | 
|  | 45 | # | 
|  | 46 | # Default values: AuthenticationFilter,DemoUserFilter | 
|  | 47 | # | 
| margaretha | 7cb68a1 | 2024-07-11 12:28:22 +0200 | [diff] [blame] | 48 | #search.resource.filters=AuthenticationFilter | 
|  | 49 | login.required = true | 
| margaretha | fbfe287 | 2024-01-04 23:29:28 +0100 | [diff] [blame] | 50 |  | 
|  | 51 |  | 
|  | 52 | # options referring to the security module! | 
|  | 53 |  | 
|  | 54 | # OAuth | 
|  | 55 | # (see de.ids_mannheim.korap.constant.AuthenticationMethod for possible | 
|  | 56 | # oauth.password.authentication values) | 
|  | 57 | oauth2.password.authentication = TEST | 
|  | 58 | oauth2.native.client.host = korap.ids-mannheim.de | 
|  | 59 | oauth2.max.attempts = 2 | 
|  | 60 | # expiry in seconds (S), minutes (M), hours (H), days (D) | 
|  | 61 | oauth2.access.token.expiry = 3M | 
|  | 62 | oauth2.refresh.token.expiry = 90D | 
|  | 63 | oauth2.authorization.code.expiry = 10M | 
|  | 64 | # -- scopes separated by space | 
|  | 65 | oauth2.default.scopes = search match_info | 
|  | 66 | oauth2.client.credentials.scopes = client_info | 
|  | 67 |  | 
|  | 68 | oauth2.initial.super.client=true | 
|  | 69 |  | 
|  | 70 | # see SecureRandom Number Generation Algorithms | 
|  | 71 | # optional | 
|  | 72 | security.secure.random.algorithm=SHA1PRNG | 
|  | 73 |  | 
|  | 74 | # see MessageDigest Algorithms | 
|  | 75 | # default MD5 | 
|  | 76 | security.md.algoritm = SHA-256 | 
|  | 77 |  | 
|  | 78 | # secure hash support: BCRYPT | 
|  | 79 | security.secure.hash.algorithm=BCRYPT | 
|  | 80 | security.encryption.loadFactor = 10 | 
|  | 81 |  | 
|  | 82 |  | 
|  | 83 | # DEPRECATED | 
|  | 84 | # JWT | 
|  | 85 | security.jwt.issuer=https://korap.ids-mannheim.de | 
|  | 86 | security.sharedSecret=this-is-shared-secret-code-for-JWT-Signing.It-must-contains-minimum-256-bits | 
|  | 87 |  | 
|  | 88 | # token expiration time | 
|  | 89 | security.longTokenTTL = 1D | 
|  | 90 | security.tokenTTL = 2S | 
|  | 91 | security.shortTokenTTL = 1S |