Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4772298
Votes 0
Synopsis proxy authentication dialog pop up twice even if username/password is correct
Category javawebstart:general
Reported Against mantis
Release Fixed 1.4.2(mantis-b09)
State 10-Fix Delivered, bug
Priority: 3-Medium
Related Bugs 4769350
Submit Date 31-OCT-2002
Description
this is caused by fixing 4699771 - which javaws now depends on the JRE proxy password caching mechanism.

and because of the bug in the JRE code ( bug 4769350: proxy authentication username and password caching only works in serial case ), we run into this problem.

To reproduce:

1.  Make sure java web start is using password proxy:
comanche.sfbay. xxxxx .com
username: jaws
password: jawstest

2.  go to java web start demo site on java. xxxxx .com.

3.  click on any demos.  it will trigger java web start to launch the demo.

4.  now the splash screen comes up.  and then the download window.  and next
should be the password dialog.

5.  enter correct username and passowrd.  click okay.

6.  it will pop up another username dialog.  but the downloading of resources
will continue and eventually the application will start and all dialogs goes
away.

See bug 4769350 for root cause of this problem.
Work Around
N/A
Evaluation
the two threads that pop up the dialog are:

1.  Launcher thread (run method)
2.  CacheImageLoader thread (run method)


  xxxxx@xxxxx   2002-10-31


networking team has put in the fix in mantis by setting the system properties:

http.auth.serializeRequests=true

I tested it with a build from networking team just now and it works.  All we need to do is set the system property in web start.

Plugin should probably set this property too.

  xxxxx@xxxxx   2002-11-14
Comments
  
  Include a link with my name & email   

Submitted On 22-APR-2004
xudianm
our java web start applications need to make a tcp 
connection to other host via the password-protected
proxy. on java web start 1.2, we could retrieved the
password info using the 
Authenticator.requestPasswordAuthentication(...). On 
java web start 1.4.2_04, we get a password dialog box. 
Please provide some easy for the application to get the
cached authentication information.



PLEASE NOTE: JDK6 is formerly known as Project Mustang