Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5671

NTLM API not exposed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0-milestone2
    • None
    • JAX-RS Security
    • 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

      { defaultHttpAsyncClient = conduit.getHttpAsyncClient(); }

      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

          Activity

            People

              Unassigned Unassigned
              karnj Jayashankar
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: