[ http://issues.apache.org/jira/browse/AXIS2-791?page=comments#action_12414368 ]
Saminda Wishwajith Abeyruwan commented on AXIS2-791: ---------------------------------------------------- Applied the patch you have send. Please try it, can close this JIRA. Thank you Saminda > NTLM client authentication > -------------------------- > > Key: AXIS2-791 > URL: http://issues.apache.org/jira/browse/AXIS2-791 > Project: Apache Axis 2.0 (Axis2) > Type: Bug > Components: client-api > Environment: Windows XP > Reporter: jeff ling > Priority: Blocker > > 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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
