aspose file tools*
The moose likes Applets and the fly likes applet security exception in weblogic 11g at urlCon.getInputStream() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "applet security exception in weblogic 11g at urlCon.getInputStream()" Watch "applet security exception in weblogic 11g at urlCon.getInputStream()" New topic
Author

applet security exception in weblogic 11g at urlCon.getInputStream()

Sriram Venkatesan P
Greenhorn

Joined: Aug 16, 2006
Posts: 5

Environment : Weblogic 11g JDk1.6




Applet making URLConnection getting below exception at line
in = new BufferedReader(new InputStreamReader(urlCon.getInputStream()));


java.security.AccessControlException: access denied (java.util.PropertyPermission http.strictPostRedirect 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 java.lang.Boolean.getBoolean(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.followRedirect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at PasswordPrintApplet.getPassword(PasswordPrintApplet.java:151)
at PasswordPrintApplet.init(PasswordPrintApplet.java:53)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Thanks and Regards,<br />Sriram
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: applet security exception in weblogic 11g at urlCon.getInputStream()