# 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.SingletonTLSSocketFactory{edu.vt.middleware.ldap.ssl.X509CredentialConfig{{trustCertificates=file:src/test/resources/ed.trust.crt}}}

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

# base dn for performing user lookups
edu.vt.middleware.ldap.baseDn=ou=test,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 SSL should be used for LDAP connections
# default value is 'false'
edu.vt.middleware.ldap.ssl=true

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