Closed Bug 85333 Opened 19 years ago Closed 19 years ago

applet to servlet post gives security exception

Categories

(Core Graveyard :: Java: OJI, defect, major)

x86
Windows NT
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: KalvantK, Assigned: James.Melvin)

Details

(Whiteboard: [jpibug])

Attachments

(3 files)

applet attempting post to servlet from same host gives security exception.

java.security.PrivilegedActionException: 
java.lang.reflect.InvocationTargetException: 
java.security.AccessControlException: access denied (java.net.SocketPermission 
bassi resolve)

	at java.security.AccessControlContext.checkPermission(Unknown Source)

	at java.security.AccessController.checkPermission(Unknown Source)

	at java.lang.SecurityManager.checkPermission(Unknown Source)

	at java.lang.SecurityManager.checkConnect(Unknown Source)

	at sun.plugin.protocol.jdk12.http.HttpURLConnection.connect
(HttpURLConnection.java:164)

	at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown 
Source)

	at ap21.ApWVal.postToServlet(ApWVal.java:224)

	at ap21.ApWVal.val_id(ApWVal.java:51)

	at java.lang.reflect.Method.invoke(Native Method)

	at sun.plugin.liveconnect.PrivilegedCallMethodAction.run
(SecureInvocation.java:209)

	at java.security.AccessController.doPrivileged(Native Method)

	at sun.plugin.liveconnect.SecureInvocation.CallMethod
(SecureInvocation.java:99)
Reporter what build id were you using? Is the applet anywhere we can test it? if
not can you attach it to this bug? thanks in advance.
Severity: blocker → major
Mozilla 0.9
Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9) Gecko/20010505
Attached file java source of servlet
oji
Assignee: neeti → edburns
Component: Networking: HTTP → OJI
QA Contact: benc → shrir
I have filed sun internal bugtraq bug 4476222 for this matter.  I have 
confirmed the bug occurrs with today's trunk and JDK1.3.1.

Assignee: edburns → James.Melvin
Whiteboard: [jpibug]
THis is invalid because it's in the java plugin, not mozilla.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Dennis Gu says this is fixed in JDK1.4.
SPAM: reassigning OJI bugs to new QA, pmac. (227 bugs)
QA Contact: shrir → pmac
QA Contact: pmac → petersen
Product: Core → Core Graveyard
No longer depends on: 1083229
No longer depends on: 1083232
You need to log in before you can comment on or make changes to this bug.