Adding LDAP support. Fixed apache ldap api maven dependency.