Closed
Bug 60422
Opened 25 years ago
Closed 25 years ago
Applets protected by basic auth won't run
Categories
(Core Graveyard :: Java: OJI, defect, P3)
Tracking
(Not tracked)
People
(Reporter: devon.miller2, Assigned: edburns)
Details
From Bugzilla Helper:
User-Agent: Mozilla/4.75 [en] (WinNT; U)
BuildID: 2000111604
An class or jar that is protected by basic authentication cannot be loaded by
the JRE.
Reproducible: Always
Steps to Reproduce:
1. Create a simple applet (I used HelloWorld from Sun's tutorial).
2. Verify that it works as expected.
3. Configure the server to require authentication for the directory containing
the page and the class.
4. Browse to that page.
Actual Results: The browser prompts for authentication.
The browser then loads the page.
The JRE prompts for authentication.
The JRE throws a null pointer exception.
Expected Results: The browser prompts for authentication.
The browser then loads the page.
The JRE does NOT prompt for authentication, but obtains it from the browser.
The applet loads and runs.
I first encountered this problem on NS6, then verified that I could reproduce it
on last night's build.
I discovered via sniffer that the JRE requests the page and gets a 401. Then,
after it prompts for authentication, it reissues the request, but never sends
the credentials it obtained. It then receives another 401 and throws the null
pointer exception.
I've tried the JRE 1.3 plugin under NS 4.75 and it works properly there, so I
believe this to be a problem with Mozilla.
I'm marking this as Severity: Major. My employer has several applets that are
within protected areas. We are working to put up code that will sniff for NS6
and direct users to a page explaining that due to a bug in NS6 and we cannot
support it at this time.
| Reporter | ||
Comment 1•25 years ago
|
||
Also, attemption to access a URL that requires authentication will not work.
Comment 2•25 years ago
|
||
*** This bug has been marked as a duplicate of 60304 ***
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•