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 |
| 9 | #krill.namedVC = vc |
| 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 | |
| 33 | # delete configuration (default hard) |
| 34 | # delete.auto.group = hard |
| 35 | delete.group = soft |
| 36 | delete.group.member = soft |
| 37 | |
| 38 | |
| 39 | # availability regex only support | |
| 40 | # It should be removed/commented when the data doesn't contain availability field. |
| 41 | # |
Marc Kupietz | e4528ee | 2024-07-04 16:28:37 +0200 | [diff] [blame] | 42 | # availability.regex.free = CC.* |
margaretha | fbfe287 | 2024-01-04 23:29:28 +0100 | [diff] [blame] | 43 | # availability.regex.public = ACA.*|QAO-NC |
| 44 | # availability.regex.all = QAO.* |
| 45 | |
| 46 | |
| 47 | # Define resource filters for search and match info web-services |
| 48 | # |
| 49 | # AuthenticationFilter activates authentication using OAuth2 tokens |
| 50 | # DemoUserFilter allows access to the services without login |
| 51 | # |
| 52 | # Default values: AuthenticationFilter,DemoUserFilter |
| 53 | # |
margaretha | 7cb68a1 | 2024-07-11 12:28:22 +0200 | [diff] [blame] | 54 | #search.resource.filters=AuthenticationFilter |
| 55 | login.required = true |
margaretha | fbfe287 | 2024-01-04 23:29:28 +0100 | [diff] [blame] | 56 | |
| 57 | |
| 58 | # options referring to the security module! |
| 59 | |
| 60 | # OAuth |
| 61 | # (see de.ids_mannheim.korap.constant.AuthenticationMethod for possible |
| 62 | # oauth.password.authentication values) |
| 63 | oauth2.password.authentication = TEST |
| 64 | oauth2.native.client.host = korap.ids-mannheim.de |
| 65 | oauth2.max.attempts = 2 |
| 66 | # expiry in seconds (S), minutes (M), hours (H), days (D) |
| 67 | oauth2.access.token.expiry = 3M |
| 68 | oauth2.refresh.token.expiry = 90D |
| 69 | oauth2.authorization.code.expiry = 10M |
| 70 | # -- scopes separated by space |
| 71 | oauth2.default.scopes = search match_info |
| 72 | oauth2.client.credentials.scopes = client_info |
| 73 | |
| 74 | oauth2.initial.super.client=true |
| 75 | |
| 76 | # see SecureRandom Number Generation Algorithms |
| 77 | # optional |
| 78 | security.secure.random.algorithm=SHA1PRNG |
| 79 | |
| 80 | # see MessageDigest Algorithms |
| 81 | # default MD5 |
| 82 | security.md.algoritm = SHA-256 |
| 83 | |
| 84 | # secure hash support: BCRYPT |
| 85 | security.secure.hash.algorithm=BCRYPT |
| 86 | security.encryption.loadFactor = 10 |
| 87 | |
| 88 | |
| 89 | # DEPRECATED |
| 90 | # JWT |
| 91 | security.jwt.issuer=https://korap.ids-mannheim.de |
| 92 | security.sharedSecret=this-is-shared-secret-code-for-JWT-Signing.It-must-contains-minimum-256-bits |
| 93 | |
| 94 | # token expiration time |
| 95 | security.longTokenTTL = 1D |
| 96 | security.tokenTTL = 2S |
| 97 | security.shortTokenTTL = 1S |