Uploaded image for project: 'XML-RPC'
  1. XML-RPC
  2. XMLRPC-68

WebServer.java doesn't use basic authentication because of NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.1
    • Releases, Source
    • None

    Description

      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.

      Attachments

        Activity

          People

            jochen@apache.org Jochen Wiedmann
            johanoskarsson Johan Oskarsson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: