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

Unable to change default java.net.Authenticator implementation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.0
    • core-libs
    • None
    • beta2
    • x86, sparc
    • solaris_7, windows_nt


      The API for java.net.Authenticator.setDefault does not allow the
      default authenticator to be changed. This makes the API unusable in
      a scenario where Java Web Start is used.

      Java Web Start installs a default authenticator when it starts up
      since it might get proxy authentication requests when it starts
      downloading the users application from the network.

      Later, when the control is transfered to the actual application (still
      running in the same JVM), then the application might want to install
      its own authenticator. This is currently impossible.

      The customer request is described in bug 4411606


            michaelm Michael McMahon
            rschmidtsunw Rene Schmidt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: