pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gkbr...@mac.com>
Subject Re: Question about signed applets
Date Tue, 04 May 2010 21:28:19 GMT
You might be able to use java.security.AccessController.checkPermission() for this (you could
potentially call it in your application's startup() method):

http://java.sun.com/javase/6/docs/api/java/security/AccessController.html#checkPermission(java.security.Permission)


On May 4, 2010, at 4:49 PM, JohnRodey wrote:

> 
> I have a pivot applet that is currently self-signed.  When loading it asks
> the user if they want to run the application.  If the user presses 'Run'
> things work great and I can verify it because the clipboard is shared
> between local applications and the applet.
> 
> However if they select 'Cancel' the applet still loads as if it were
> unsigned.  Is there a way to catch this, so that if they push 'Cancel' I
> can, or it can automatically, redirect them to an error page?
> 
> I was just thinking that I probably don't want my user thinking that
> everything is working fine, until they attempt to do something that is
> restricted.
> 
> Thanks!
> -- 
> View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Question-about-signed-applets-tp777327p777327.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.


Mime
View raw message