Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
reg-app
Regapp
Commits
87cb7125
Commit
87cb7125
authored
Apr 15, 2016
by
michael.simon
Browse files
make ECP Basic auth to IDP preemptive.
#45
parent
284d566c
Changes
1
Hide whitespace changes
Inline
Side-by-side
bwreg-service/src/main/java/edu/kit/scc/webreg/service/impl/UserLoginServiceImpl.java
View file @
87cb7125
...
...
@@ -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
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment