Lines Matching refs:connection
50 private LDAPConnection connection;
134 connection = new LDAPConnection();
135 connection.connect(3, hostname, portnumber, "", "");
136 connection.authenticate(3, bindDN, bindPW);
138 write("[Thread id: " + threadId + "] \n" + getDate() + connection);
185 LDAPSearchConstraints cons = connection.getSearchConstraints();
189 res = connection.search(suffix, LDAPv3.SCOPE_SUB, "(objectclass=*)", null, false, cons);
265 while (result.hasMoreElements() && connection.isConnected()) {
277 connection.disconnect();
303 if (!connection.isConnected()) {