Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.0.0-milestone2
-
None
-
None
-
Tomcat 6, jdk (1.6 and 1.7)
-
Unknown
Description
NTLM API using AsyncHTTPConduit is deprecated in cxf 3.0 milestone 2 release, where as it is working in 2.7.7.. It is affecting backward compatibility and there is no proper API to refactor.
HTTPConduit http = (HTTPConduit)client.getConduit();
if ( http instanceof AsyncHTTPConduit ) {
AsyncHTTPConduit conduit = (AsyncHTTPConduit)http;
DefaultHttpAsyncClient defaultHttpAsyncClient = null;
try
catch (IOException e)
{ // TODO Auto-generated catch block }defaultHttpAsyncClient.getCredentialsProvider().setCredentials( AuthScope.ANY, new NTCredentials( "user", "pwd", "host", "domain" ) );
conduit.getClient().setAllowChunking( false );
conduit.getClient().setAutoRedirect( true );
}
Attachments
Issue Links
- is duplicated by
-
CXF-5890 NTLM authentication does not work
- Open