This discussion is archived
2 Replies Latest reply: Jun 11, 2012 11:03 AM by 942934 RSS

Applet issue using HTTPS protocol and java 7

942934 Newbie
Currently Being Moderated
We have a java applet on our website which worked in the past with the previous version of Java (1.6.x) using HTTPS protocol and regular HTTP.

Using Java 7 and the HTTPS protocol we are not able to load the applet. The applet is correctly loaded using the regular HTTP.

This is the the trace we see in the Java Console:

12:52:51.654 Using default stream handler
java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "setFactory")
     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.checkSetFactory(Unknown Source)
     at javax.net.ssl.HttpsURLConnection.setSSLSocketFactory(Unknown Source)
     at com.middleware.core.APIHttpClient.createSecureConnection(APIHttpClient.java:152)
     at com.middleware.core.APIHttpClient.execute(APIHttpClient.java:42)
     

Any helps or suggestions how we can fix this issue would be very appreciated.

Thank you

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points