}
public static void testUserAuthentication(CLdapServerConfiguration ldapServer, LdapUserDAO ldapUserDAO,
LdapGroupDAO ldapGroupDAO) throws LdapDAOException
{
LdapContextFactory contextFactory = getLdapContextFactory(ldapServer, false);
LdapAuthConfiguration authConfig = getLdapAuthConfiguration(ldapServer);
new DefaultLdapConnector("test", ldapUserDAO, ldapGroupDAO, contextFactory, authConfig);
}