-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Please try it with Revision 411069 upwards.

Saminda

Jeff Ling wrote:
> So it's not supported yet? Is it possible to provide a patch? Or even
> some source code that I can compile myself. I guess it's only an issue
> of providing configuration, right?
> 
> 
> 
> On 6/1/06, *Davanum Srinivas* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
>     Could u please open a bug report? http://issues.apache.org/jira/
> 
>     thanks,
>     dims
> 
>     On 6/1/06, Jeff Ling <[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>> wrote:
>     > Hello,
>     >
>     > I posted the message the message to user's mailing list, but
>     haven't got any
>     > response yet. It's kind of urgent for me, so sorry for the spam.
>     >
>     >
>     > I downloaded the nightly build with the basic auth patch. Now that's
>     > working. However, I am wondering whether NTLM is supported by
>     Axis2? I know
>     > HttpClient does support it. However, I can't figure out how to
>     tell Axis to
>     > use NTLM.
>     >
>     > Here is what I did in the code,
>     >
>     >       BasicAuthentication basicAuthentication = new
>     > HttpTransportProperties()
>     >         .new BasicAuthentication();
>     >       basicAuthentication.setUsername(context.getUserName ());
>     >       basicAuthentication.setPassword(context.getPassword());
>     >       basicAuthentication.setRealm(context.getRealm());
>     >
>     >       options
>     >       .setProperty(HTTPConstants.BASIC_AUTHENTICATION ,
>     > basicAuthentication);
>     >
>     >
>     > And I got the error.
>     >  INFO [main] (AuthChallengeProcessor.java:100) - ntlm
>     authentication scheme
>     > selected
>     > ERROR [main] (HttpMethodDirector.java :235) - 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:331)
>     >     at
>     > org.apache.commons.httpclient.HttpMethodDirector.authenticateHost
>     (HttpMethodDirector.java:281)
>     >
>     > Seems that NTLM auth scheme is selected, but credential is incorrect.
>     >
>     >
>     >
> 
> 
>     --
>     Davanum Srinivas : http://wso2.com/blogs/ <http://wso2.com/blogs/>
> 
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>
>     For additional commands, e-mail: [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>
> 
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEgAfpYmklbLuW6wYRAl6AAKCBiU/ol/tLeBc1gWd10Y4XW7rmVACfUFzO
slnsO7laOCAZD3LuleqbWoU=
=YXrE
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to