2 Replies Latest reply on Jun 11, 2012 6:03 PM by 942934

    Applet issue using HTTPS protocol and java 7

      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