# 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={ trustCertificates=file:src/test/resources/ed.trust.crt }

# fully qualified class name which implements javax.net.ssl.SSLSocketFactory
#edu.vt.middleware.ldap.auth.sslSocketFactory=edu.vt.middleware.ldap.ssl.TLSSocketFactory{enabledCipherSuites=TLS_RSA_WITH_AES_256_CBC_SHA,TLS_DHE_RSA_WITH_AES_256_CBC_SHA}

# 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

# hostname of the LDAP
edu.vt.middleware.ldap.auth.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.auth.baseDn=ou=test,dc=vt,dc=edu

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

# bind DN if one is required to bind before searching
edu.vt.middleware.ldap.bindDn=uid=1,ou=test,dc=vt,dc=edu

# credential for the bind DN
edu.vt.middleware.ldap.bindCredential=VKSxXwlU7YssGl1foLMH2mGMWkifbODb1djfJ4t2

# 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

