Hello All,

I am a bit confused about proxy authentication in Axis2.  (I'm using
1.1.1.)  

In my code I have created a HttpTransportProperties.ProxyProperties
object and set the options with it.  See below.

        HttpTransportProperties.ProxyProperties pp 
            = new HttpTransportProperties.ProxyProperties();
        pp.setProxyName( proxyhost );
        pp.setProxyPort( proxyport );
        pp.setDomain( domain );
        pp.setUserName( user );
        pp.setPassWord( pass );
        Options o = stub._getServiceClient().getOptions();
        o.setProperty( HTTPConstants.PROXY, pp );

The client does attempt to use the proxy, but fails when NTLM
authentication is attempted.  I need to do basic authentication.

I *think* I need to create an instance of
HttpTransportProperties.Authenticator specifying BASIC authentication
and set the options with that.  What confuses me is that the
Authenticator class also contains credentials.  Do I need to put
credentials there too?  

Or, is the some other way to force basic authentication on the client
side?

Thanks very much

Troy Rudolph
Computer Associates
Senior Software Engineer
tel: +1 512 401-2273
fax: +1 512 401-2205
[EMAIL PROTECTED]


Reply via email to