Skip to content
Snippets Groups Projects
Commit 87cb7125 authored by Michael Simon's avatar Michael Simon
Browse files

make ECP Basic auth to IDP preemptive. #45

parent 284d566c
No related branches found
No related tags found
No related merge requests found
......@@ -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));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment