Tom created CXF-9044:
------------------------
Summary: Unable to configure CXF client for NTLM
Key: CXF-9044
URL: https://issues.apache.org/jira/browse/CXF-9044
Project: CXF
Issue Type: Task
Reporter: Tom
I am trying to use CXF version 4 client to consume a web service secured by
NTLM. I found CXF-4525 which suggested to use http async client. However, now
httpConduit is using
CloseableHttpAsyncClient so it does not have option to set NT credentials
I can use HTTP client to have NT Credential as follows
CredentialsProvider credsProvider = new BasicCredentialsProvider();
credsProvider.setCredentials(AuthScope.ANY,
new NTCredentials("userbane", "password", "", "domain"));
HttpClient client =
HttpClientBuilder.create().setDefaultCredentialsProvider(credsProvider).build();
HttpPost post = new HttpPost("the url");
Is there a way to inject that HttpClient in CXF 4?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)