#
# xnat-conf.properties
# XNAT http://www.xnat.org
# Copyright (c) 2016, Washington University School of Medicine
# All Rights Reserved
#
# Released under the Simplified BSD.
#
datasource.driver=org.postgresql.Driver
datasource.url=jdbc:postgresql://localhost/xnat
datasource.username=xnat
datasource.password=xnat

hibernate.dialect=org.hibernate.dialect.PostgreSQL9Dialect
hibernate.hbm2ddl.auto=update
hibernate.show_sql=false
hibernate.cache.use_second_level_cache=true
hibernate.cache.use_query_cache=true

site.title=XNAT123

# Comma-separated list of the providers that users will be able to use to authenticate.
provider.providers.enabled=db, ldap1

provider.db.name=Database
provider.db.id=localdb
provider.db.type=db

# Add "ldap1" to the enabled provider list above and fill in the missing fields to enable LDAP authentication.
provider.ldap1.name=LDAP
provider.ldap1.id=ldap1
provider.ldap1.type=ldap
provider.ldap1.address=ldap://146.169.47.171:389/dc=biomedia,dc=imperial,dc=ac,dc=uk
provider.ldap1.userdn=cn=admin,dc=biomedia,dc=imperial,dc=ac,dc=uk
provider.ldap1.password=biomedia
provider.ldap1.search.base=ou=people
provider.ldap1.search.filter=(uid={0})