axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepal Jayasinghe (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-791) NTLM client authentication
Date Wed, 05 Jul 2006 09:19:30 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-791?page=all ]
     
Deepal Jayasinghe resolved AXIS2-791:
-------------------------------------

    Resolution: Fixed

Saminda has fixed the issue
Thx 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message