Cannot connect via NTLM proxy on Mac machine.
---------------------------------------------

                 Key: AXIS2-4322
                 URL: https://issues.apache.org/jira/browse/AXIS2-4322
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: transports
    Affects Versions: 1.4, 1.4.1
         Environment: Apple Mac OS X 10.5, Axis2 1.4
            Reporter: Sean Cote


We have a web-service client application and we allow the user to connect via 
an authenticating proxy server. It works for basic, digest, and NTLM 
authentication on all platforms, except for one case: It does not work for NTLM 
authentication on Mac OS X 10.5. We get the following error:

[ERROR] HttpMethodDirector - Credentials cannot be used for NTLM 
authentication: org.apache.commons.httpclient.UsernamePasswordCredentials 
<org.apache.commons.httpclient.auth.InvalidCredentialsException: Credentials 
cannot be used for NTLM authentication: 
org.apache.commons.httpclient.UsernamePasswordCredentials>org.apache.commons.httpclient.auth.InvalidCredentialsException:
 Credentials cannot be used for NTLM authentication: 
org.apache.commons.httpclient.UsernamePasswordCredentials
        at 
org.apache.commons.httpclient.auth.NTLMScheme.authenticate(NTLMScheme.java:332)
        at 
org.apache.commons.httpclient.HttpMethodDirector.authenticateProxy(HttpMethodDirector.java:320)
        at 
org.apache.commons.httpclient.HttpMethodDirector.executeConnect(HttpMethodDirector.java:491)
        at 
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:391)
        at 
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
        at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
        at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
        at 
org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:542)
        at 
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:189)
        at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
        at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:364)
        at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:448)
        at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:401)
        at 
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
        at 
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)

Why does it work for Windows and Linux, but not Macs? Please let me know if I 
can help in any way.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to