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

Enable the use of user:password@host in jnlp codebase urls.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P3 P3
    • 6
    • 6
    • deploy
    • x86
    • windows_nt



      Name: nt126004 Date: 04/19/2002


      FULL PRODUCT VERSION :
      java version "1.3.0_02"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02)
      Java HotSpot(TM) Client VM (build 1.3.0_02, mixed mode)

      FULL OPERATING SYSTEM VERSION :
      Windows NT Version 4.0

      A DESCRIPTION OF THE PROBLEM :
      It does not manage the http://user:###@###.### in
      the jnlp files which is very very ennoying. Because the
      login panel is regiven each time to the user. Once the jnlp
      file has been downloaded, it should read the user name and
      password from the supplied url rather than reprompting on
      each launch of the program.

      Also, it would be convenient if the default button of the login
      box was set to OK.

      We would like to generate jnlp files with access restricted
      download pages. The JDK allows it but JWS does not.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1.Reference a jnlp file in an access restricted web folder,
      2.authenticate and launch the application,
      3.close the application and relaunch it. Even if you have
      an url containing the user and password, jws will ask for
      the user and password again. Moreover the frame does not
      stay very long, which means that if you allow the offline
      work, you can have your application never updated !!!!

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      Manage http as the jdk allows it.

      This bug can be reproduced always.

      -------------- BEGIN SOURCE ------------------
      <?xml version="1.0" encoding="UTF-8"?>
      <jnlp spec="1.0+" codebase="http://user:password@localhost:8080/Demo" href="Application.jnlp">
        <information>
          <title>Application</title>
          <vendor>Amadeus</vendor>
          <homepage href="Application.html" />
          <description>Amadeus Application</description>
        </information>
        <resources>
          <j2se version="1.3+" />
          <jar href="Application.jar" />
        </resources>
        <application-desc main-class="amadeus.Main" />
      </jnlp>
      --------------- END SOURCE --------------------
      (Review ID: 144223)
      ======================================================================

            awoodsomsunw Ashley Woodsom (Inactive)
            nthompsosunw Nathanael Thompson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: