You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "jeff ling (JIRA)" <ji...@apache.org> on 2006/06/01 22:54:29 UTC
[jira] Created: (AXIS2-791) NTLM client authentication
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
[jira] Commented: (AXIS2-791) NTLM client authentication
Posted by "Saminda Wishwajith Abeyruwan (JIRA)" <ji...@apache.org>.
[ 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Resolved: (AXIS2-791) NTLM client authentication
Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
[ 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