Closed Bug 22867 Opened 25 years ago Closed 25 years ago

Default permissions for keep alive is a problem

Categories

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

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: cburkey, Assigned: drapeau)

References

()

Details

Trying to use Java and build12 with OJI. When there is a permission problem it should ask for confirmation or something. Why is there a permission problem on reading the keep alive property? Java(TM) Plug-in: Version 1.3.0-I Using JRE version 1.3.0 Java HotSpot(TM) Client VM User home directory = C:\WINNT\Profiles\cburkey Proxy Configuration: Browser Proxy Configuration JAR cache enabled. java.security.AccessControlException: access denied (java.util.PropertyPermission http.keepAlive read) 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.checkPropertyAccess(Unknown Source) at java.lang.System.getProperty(Unknown Source) at sun.net.www.http.HttpClient.getHttpKeepAliveSet(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.writeRequests(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source) at java.net.HttpURLConnection.getResponseCode(Unknown Source) at sun.applet.AppletClassLoader.getBytes(Unknown Source) at sun.applet.AppletClassLoader.access$100(Unknown Source) at sun.applet.AppletClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.applet.AppletClassLoader.findClass(Unknown Source) at sun.plugin.security.PluginClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadCode(Unknown Source) at sun.applet.AppletPanel.createApplet(Unknown Source) at sun.plugin.AppletViewer.createApplet(Unknown Source) at sun.applet.AppletPanel.runLoader(Unknown Source) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
Hi Chris. I'm copying Stanley Ho in the hope that he'll have good comments. We won't get to this until after Beta 1, though, when we begin working on security.
Status: NEW → ASSIGNED
Target Milestone: M16
It looks like the JDK you have is not the latest RC1 release, so this may be caused by bugs in the previous internal build of the JDK. Would you please download the latest RC1 release from java.sun.com and try again? I will revisit this after beta 1 if this problem still occurs with RC1.
This problem should have fixed in the Kestrel RC1 build that shipped with Netscape 6 PR1. I will close this bug.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Verified, plus the link is no longer valid.
Status: RESOLVED → VERIFIED
QA Contact: paw → junruh
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.