You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-dev@ws.apache.org by "Johan Oskarson (JIRA)" <xm...@ws.apache.org> on 2005/08/24 16:14:10 UTC
[jira] Created: (XMLRPC-68) WebServer.java doesn't use basic authentication because of NPE
WebServer.java doesn't use basic authentication because of NPE
--------------------------------------------------------------
Key: XMLRPC-68
URL: http://issues.apache.org/jira/browse/XMLRPC-68
Project: XML-RPC
Type: Bug
Components: Releases, Source
Versions: 2.0
Reporter: Johan Oskarson
In WebServer.java in the method private void parseAuth(String line)
a call to base64Codec.decode is made, however base64Codec is null, in fact it's never ever assigned.
The exception thrown by this is eaten up by the empty catch-block and never reported anywhere.
Solution:
this.base64Codec = new Base64();
in the constructor of the class Connection will do the trick.
--
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
[jira] Geschlossen: (XMLRPC-68) WebServer.java doesn't use basic authentication because of NPE
Posted by "Jochen Wiedmann (JIRA)" <xm...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/XMLRPC-68?page=all ]
Jochen Wiedmann closed XMLRPC-68:
---------------------------------
Fix Version: 2.1
Resolution: Fixed
Assign To: Jochen Wiedmann
Patch applied to the 2.0 branch and to the trunk.
> WebServer.java doesn't use basic authentication because of NPE
> --------------------------------------------------------------
>
> Key: XMLRPC-68
> URL: http://issues.apache.org/jira/browse/XMLRPC-68
> Project: XML-RPC
> Type: Bug
> Components: Releases, Source
> Versions: 2.0
> Reporter: Johan Oskarson
> Assignee: Jochen Wiedmann
> Fix For: 2.1
>
> In WebServer.java in the method private void parseAuth(String line)
> a call to base64Codec.decode is made, however base64Codec is null, in fact it's never ever assigned.
> The exception thrown by this is eaten up by the empty catch-block and never reported anywhere.
> Solution:
> this.base64Codec = new Base64();
> in the constructor of the class Connection will do the trick.
--
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