margaretha | 1960ea5 | 2023-02-28 11:20:15 +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 |
| 16 | # multiple versions separated by space |
| 17 | current.api.version = v1.0 |
| 18 | supported.api.version = v0.1 v1.0 |
| 19 | |
| 20 | # server |
| 21 | server.port=8089 |
| 22 | server.host=localhost |
| 23 | |
| 24 | # mail settings |
| 25 | mail.enabled = false |
| 26 | mail.receiver = test@localhost |
| 27 | mail.sender = noreply@ids-mannheim.de |
| 28 | mail.address.retrieval = test |
| 29 | |
| 30 | # mail.templates |
| 31 | template.group.invitation = notification.vm |
| 32 | |
| 33 | # default foundries for specific layers |
| 34 | default.foundry.partOfSpeech = tt |
| 35 | default.foundry.lemma = tt |
| 36 | default.foundry.orthography = opennlp |
| 37 | default.foundry.dependency = malt |
| 38 | default.foundry.constituent = corenlp |
| 39 | default.foundry.morphology = marmot |
| 40 | default.foundry.surface = base |
| 41 | |
| 42 | # delete configuration (default hard) |
| 43 | # delete.auto.group = hard |
| 44 | delete.group = soft |
| 45 | delete.group.member = soft |
| 46 | |
| 47 | |
| 48 | # availability regex only support | |
| 49 | # It should be removed/commented when the data doesn't contain availability field. |
| 50 | # |
| 51 | # availability.regex.free = CC-BY.* |
| 52 | # availability.regex.public = ACA.*|QAO-NC |
| 53 | # availability.regex.all = QAO.* |
| 54 | |
| 55 | |
| 56 | # Define resource filters for search and match info web-services |
| 57 | # |
| 58 | # AuthenticationFilter activates authentication using OAuth2 tokens |
| 59 | # DemoUserFilter allows access to the services without login |
| 60 | # |
| 61 | # Default values: AuthenticationFilter,DemoUserFilter |
| 62 | # |
| 63 | search.resource.filters=AuthenticationFilter |
| 64 | |
| 65 | |
| 66 | # options referring to the security module! |
| 67 | |
| 68 | # OAuth |
| 69 | # (see de.ids_mannheim.korap.constant.AuthenticationMethod for possible |
| 70 | # oauth.password.authentication values) |
| 71 | oauth2.password.authentication = TEST |
| 72 | oauth2.native.client.host = korap.ids-mannheim.de |
| 73 | oauth2.max.attempts = 2 |
| 74 | # expiry in seconds (S), minutes (M), hours (H), days (D) |
| 75 | oauth2.access.token.expiry = 3M |
| 76 | oauth2.refresh.token.expiry = 90D |
| 77 | oauth2.authorization.code.expiry = 10M |
| 78 | # -- scopes separated by space |
| 79 | oauth2.default.scopes = search match_info |
| 80 | oauth2.client.credentials.scopes = client_info |
| 81 | |
| 82 | oauth2.initial.super.client=true |
| 83 | |
| 84 | # see SecureRandom Number Generation Algorithms |
| 85 | # optional |
| 86 | security.secure.random.algorithm=SHA1PRNG |
| 87 | |
| 88 | # see MessageDigest Algorithms |
| 89 | # default MD5 |
| 90 | security.md.algoritm = SHA-256 |
| 91 | |
| 92 | # secure hash support: BCRYPT |
| 93 | security.secure.hash.algorithm=BCRYPT |
| 94 | security.encryption.loadFactor = 10 |
| 95 | |
| 96 | |
| 97 | # DEPRECATED |
| 98 | # JWT |
| 99 | security.jwt.issuer=https://korap.ids-mannheim.de |
| 100 | security.sharedSecret=this-is-shared-secret-code-for-JWT-Signing.It-must-contains-minimum-256-bits |
| 101 | |
| 102 | # token expiration time |
| 103 | security.longTokenTTL = 1D |
| 104 | security.tokenTTL = 2S |
| 105 | security.shortTokenTTL = 1S |