java.security.AccessControlException: access denied (“java.security.SecurityPermission” “authProvider.SunMSCAPI”)

前端 未结 3 715
粉色の甜心
粉色の甜心 2020-12-09 22:53

Till morning everything working fine in my applet. I took Java update and everything stopped. I\'m dealing with digital certificate using applet. Here is my stack trace. I f

3条回答
  •  爱一瞬间的悲伤
    2020-12-09 23:36

    Issue:

    java.security.AccessControlException: access denied ("java.security.SecurityPermission" "authProvider.SunMSCAPI")
        at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
    

    It is because we needs permission to access file system resources, but an unsigned applet is denied this permission by default. So, to overcome this, the applet must be signed.

    Simply you need to signed your applet jar file.

    Signed jar file

提交回复
热议问题