Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4195144

Authentication Prompt Box doesn't work

XMLWordPrintable

    • 1.2.2
    • x86
    • windows_nt



      Name: jd32717 Date: 12/04/98


      When a web server sends a HTTP authentication requestion back, the "Username and Password Required" Applet Window is unusable, looks weird and basically just doesn't work!
      (Review ID: 39323)
      ======================================================================


      natalie.wang@eng 1999-03-11

      My customer is running both applet and servlet on NT4.0. They also run a backend
      server on SUN, but for purposes of this problem it is irrelevant. They never
      seem to get that far. In fact, the servlet doesn't seem to be really necessary
      either. As long as the applet attempts to connect to something, the failure can
      be seen. As far as the browser, it really shouldn't matter since they run
      within the plug-in, but typically they use IE 4.

      They create a URL connection back to the applet host by using the applet's
      codebase to build the base URL, and appending the rest of the URL (in our
      case, to a servlet). When they open and use the URLConnection, the plug-in
      displays a proxy authentication prompt, even though they already were prompted
      by the browser for authentication information just to access the web page.

      It seems like the plug-in should be getting that stored authentication
      information from the browser automatically so our users don't have to
      authenticate twice to the same site (once for the browser and once for the
      applet).

      See attachment for a applet-servlet communication test case.
      ============================================================================

            jdochezorcl Jerome Dochez (Inactive)
            jdochezorcl Jerome Dochez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: