Merge branch 'master' into jetty-8
This commit is contained in:
commit
f1d413fe03
|
@ -1,7 +1,6 @@
|
||||||
package org.eclipse.jetty.client;
|
package org.eclipse.jetty.client;
|
||||||
|
|
||||||
import static org.junit.Assert.assertEquals;
|
import static org.junit.Assert.*;
|
||||||
import static org.junit.Assert.assertTrue;
|
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.net.URLEncoder;
|
import java.net.URLEncoder;
|
||||||
|
@ -229,7 +228,7 @@ public class ProxyTunnellingTest
|
||||||
exchange.setURL("https://localhost:" + serverPort + "/echo?body=" + URLEncoder.encode(body, "UTF-8"));
|
exchange.setURL("https://localhost:" + serverPort + "/echo?body=" + URLEncoder.encode(body, "UTF-8"));
|
||||||
|
|
||||||
httpClient.send(exchange);
|
httpClient.send(exchange);
|
||||||
assertTrue(latch.await(serverConnectTimeout * 2, TimeUnit.MILLISECONDS));
|
assertTrue("Server connect exception should have occurred", latch.await(serverConnectTimeout * 2, TimeUnit.MILLISECONDS));
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
|
|
@ -327,6 +327,7 @@ public class LdapLoginModule extends AbstractLoginModule
|
||||||
SearchControls ctls = new SearchControls();
|
SearchControls ctls = new SearchControls();
|
||||||
ctls.setDerefLinkFlag(true);
|
ctls.setDerefLinkFlag(true);
|
||||||
ctls.setSearchScope(SearchControls.SUBTREE_SCOPE);
|
ctls.setSearchScope(SearchControls.SUBTREE_SCOPE);
|
||||||
|
ctls.setReturningAttributes(new String[]{_roleNameAttribute});
|
||||||
|
|
||||||
String filter = "(&(objectClass={0})({1}={2}))";
|
String filter = "(&(objectClass={0})({1}={2}))";
|
||||||
Object[] filterArguments = {_roleObjectClass, _roleMemberAttribute, userDn};
|
Object[] filterArguments = {_roleObjectClass, _roleMemberAttribute, userDn};
|
||||||
|
|
Loading…
Reference in New Issue