Commit 87cb7125 authored by michael.simon's avatar michael.simon
Browse files

make ECP Basic auth to IDP preemptive. #45

parent 284d566c
......@@ -260,6 +260,9 @@ public class UserLoginServiceImpl implements UserLoginService, Serializable {
HttpClientBuilder clientBuilder = new HttpClientBuilder();
HttpClient client = clientBuilder.buildClient();
client.getParams().setAuthenticationPreemptive(true);
client.getState().setCredentials(
new AuthScope(bindingHost, 443),
new UsernamePasswordCredentials(username, password));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment