[ 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

Reply via email to