Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 1 | ### Common options |
| 2 | # read index from: |
| 3 | lucene.indexDir = /Users/hanl/Projects/prep_corpus2 |
| 4 | ## lucene.indexDir = /home/hanl/Projects/prep_corpus |
| 5 | ## lucene.indexDir = /data/indices |
| 6 | |
| 7 | |
| 8 | # Lucene Backend properties |
| 9 | lucene.properties = true |
| 10 | lucene.index.commit.count = 134217000 |
| 11 | lucene.index.commit.log = log/korap.commit.log |
| 12 | |
| 13 | # Not active at the moment: |
| 14 | lucene.index.search.count.default = 25 |
| 15 | lucene.index.search.count.max = 100 |
| 16 | lucene.index.search.context.left.type = token |
| 17 | lucene.index.search.context.left.default = 6 |
| 18 | lucene.index.search.context.left.max = 12 |
| 19 | lucene.index.search.context.right.type = token |
| 20 | lucene.index.search.context.right.default = 6 |
| 21 | lucene.index.search.context.right.max = 12 |
| 22 | |
| 23 | |
| 24 | ### Options for server mode ### |
| 25 | service.port = 8070 |
| 26 | |
| 27 | ## email configuration |
| 28 | mail.host = mail.ids-mannheim.de |
| 29 | mail.from = no-reply@korap.ids-mannheim.de |
| 30 | |
| 31 | ## frontend parameter - deprecated |
| 32 | korap.frontend.url = http://localhost:8080 |
| 33 | ## korap.frontend.url = http://klinux10.ids-mannheim.de:8080/korap-frontend/app |
| 34 | |
| 35 | korap.ql=Cosmas2, Poliqarp, CQL, ANNIS |
| 36 | korap.issuer=http://korap1:8080/api |
| 37 | |
| 38 | ## configuration options |
| 39 | log4jconfig = ./config/log4j.properties |
| 40 | |
| 41 | # directory to reference jsp and html files for static content |
| 42 | webapp.dir=webapp |
| 43 | |
| 44 | |
| 45 | ## NEW!! |
| 46 | users.config=/Users/hanl/Projects/KorAP-project/KorAP-modules/KorAP-REST/config/users.c |
| 47 | policies.config=/Users/hanl/Projects/KorAP-project/KorAP-modules/KorAP-REST/config/policies.c |
| 48 | |
| 49 | ## options referring to the security module! |
| 50 | |
| 51 | ## token expiration time in minutes! |
| 52 | ## decpricated, no function uses this anymore |
| 53 | security.absoluteTimeoutDuration = 45M |
| 54 | |
| 55 | security.tokenTTL=72H |
| 56 | security.shortTokenTTL=12H |
| 57 | |
| 58 | security.idleTimeoutDuration = 25M |
| 59 | security.multipleLogIn = true |
| 60 | security.loginAttemptNum = 3 |
| 61 | security.authAttemptTTL = 45M |
| 62 | |
| 63 | security.encryption.loadFactor = 8 |
| 64 | security.validation.stringLength = 150 |
| 65 | security.validation.emailLength = 50 |
| 66 | security.encryption.algo=BCRYPT |
| 67 | security.sharedSecret=nHim5JB-YqkX7sS55jayGBnga8WmqgpkzieGe8UhojE |
| 68 | security.adminToken=f61d02c04a0f18d60172f7b990955824 |
| 69 | |
| 70 | # change to persistent id or create one (could be list of values, which would be joined!) |
| 71 | security.shibUserMapping=eppn |
| 72 | |
| 73 | # specify a default client! |
| 74 | |
| 75 | ## applicable: rewrite, foundry, filter, deny |
| 76 | security.rewrite.strategies=filter, foundry, rewrite |
| 77 | |
| 78 | ## name of the policy condition that registering users can be added by default |
| 79 | ## if none given, none is applied |
| 80 | security.group.public=public |