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)
Any helps or suggestions how we can fix this issue would be very appreciated.
I double checked with our operation team.
It seems that we started having this issue when our clients were updated on java 1.6.31.
The applet worked correctly before that version.
So I'm not sure if only build the applet using the new build will solve the problem.
Do you have any other suggestions?