I have an applet which runs in a browser.
I expect that when the use denies the permission for the applet to run, it should not run and give an AccessControlEception
or something similar.
However, surprisingly, even after the user has denied permissions, the applet still keeps running. Here is part of the trace from the Java Console.
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment session certificate store
security: User has denied the priviledges to the code
security: Adding certificate in Deployment denied certificate store
security: Added certificate in Deployment denied certificate store
basic: Applet loaded.
basic: Applet resized and added to parent container
Isn't it expected that after the user has denied privileges, the applet shouldn't load? What's going on here?