This discussion is archived
0 Replies Latest reply: Jun 22, 2012 1:42 AM by 908455 RSS

Force SecurityManager to ask for permission again

908455 Newbie
Currently Being Moderated
Hello,
I've written a signed applet for uploading images to a CMS. Everything works fine.

But of course the user has to grant permission the first time when the applet is invoked. Many users don't read and just abort the grant-permission-dialog and now the applet of course can't work.

The applet of course checks via SecurityManager if permission was granted and alerts an error message if not.

I know would prefer if there was a way after showing my error message with information what to do to force the SecurityManager to show again the grant dialog, so the user has again the chance to grant permission. Is there a way to re-show this dialog?

Thanks for your advice

Legend

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