| 30 | |
| 31 | == Configuration == |
| 32 | |
| 33 | The server is configured through the file `serverconfig.property` in the `WEB-INF` folder in the webapp directory. |
| 34 | |
| 35 | The file is in Java property file syntax and might look like this: |
| 36 | {{{ |
| 37 | # directory where Neo4J keeps its files (otherwise the files will be put in the webapp directory) |
| 38 | annotationmanager.graphdb.path = /usr/local/neo4j/dbs/AnnotationManager |
| 39 | # LDAP server URL for getting full names for IDs (otherwise no full names) |
| 40 | annotationmanager.ldapserver.url = ldap://ldap.mpiwg-berlin.mpg.de/dc=mpiwg-berlin,dc=mpg,dc=de |
| 41 | # user name and password for the admin frontend for Persons and Groups |
| 42 | annotationmanager.admin.user = superuser |
| 43 | annotationmanager.admin.password = superpassword |
| 44 | }}} |
| 45 | |
| 46 | The server also has a list of API client keys that are used to authenticate Tokens from the token servers. On the annotation server the keys are in the file `consumerkeys.property` in the `WEB-INF` folder in the webapp directory. |
| 47 | |
| 48 | The file is in Java property file syntax and might look like this: |
| 49 | {{{ |
| 50 | # format: consumerKey = consumerSecret |
| 51 | # consumerKey.label = Label |
| 52 | test1 = abcdef |
| 53 | test1.label = TEST |
| 54 | }}} |