[ http://issues.apache.org/jira/browse/XMLRPC-8?page=all ]
Jochen Wiedmann closed XMLRPC-8:
--------------------------------
Resolution: Fixed
Assign To: (was: rpc-dev mailing list)
It is quite likely, that this problem no longer applies with versions 2 and 3.
Consequently, I am closing the issue now. If required, please reopen.
> BasicAuthentication bug in XmlRpcClientLite
> -------------------------------------------
>
> Key: XMLRPC-8
> URL: http://issues.apache.org/jira/browse/XMLRPC-8
> Project: XML-RPC
> Type: Bug
> Components: Source
> Versions: unspecified
> Environment: Operating System: Windows NT/2K
> Platform: PC
> Reporter: Robert Purdy
>
> Setting the setBasicAuthentication(String, String) while using an instance of
> XmlRpcClientLite does not set the (lite) local static String auth. Thus when
> it
> doing the sendRequest() in the XmlRpcClientLite, the check for auth always
> returns null, and it skips sending the authentication.
> I believe this is becuase the setBasicAuthentication method sets the super's
> private String auth variable.
> I have corrected this problem by removing the local (XmlRpcClientLite) auth
> variable, and providing an accessor method in the super (XmlRpcClient) to
> access it's private auth setting. Using this method for the auth check in the
> lite client then results in the correct functionality.
--
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