# Configuration variables for ldap operation
# Comments must be on separate lines
# Format is 'name=value'

## LDAP CONFIG ##

# fully qualified class name which implements javax.net.ssl.SSLSocketFactory
edu.vt.middleware.ldap.sslSocketFactory=edu.vt.middleware.ldap.ssl.TLSSocketFactory{ edu.vt.middleware.ldap.ssl.KeyStoreCredentialConfig{ {trustStore=classpath:/ed.truststore} {trustStoreType=BKS} {keyStore=classpath:/ed.keystore} {keyStoreType=BKS} {keyStorePassword=changeit} }}

# fully qualified class name which implements javax.net.ssl.HostnameVerifier
edu.vt.middleware.ldap.hostnameVerifier=edu.vt.middleware.ldap.AnyHostnameVerifier

# hostname of the LDAP
edu.vt.middleware.ldap.ldapUrl=ldap://ldap-test-1.middleware.vt.edu:389 ldap://ldap-test-1.middleware.vt.edu:10389

# base dn for performing user lookups
edu.vt.middleware.ldap.baseDn=ou=test,dc=vt,dc=edu

# LDAP authentication mechanism
# default value is 'simple'
edu.vt.middleware.ldap.authtype=EXTERNAL

# whether TLS should be used for LDAP connections
# default value is 'false'
edu.vt.middleware.ldap.tls=true

# set socket timeout low for testing
edu.vt.middleware.ldap.timeout=2000

# LDAP field which contains user identifier
edu.vt.middleware.ldap.auth.userField=uid,mail
