wood burning stoves
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 Head First Android this week in the Android 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
 
jQuery in Action, 3rd edition
 
subject: applet security exception in weblogic 11g at urlCon.getInputStream()
 
It's not a secret anymore!