I'm getting this error when I tried to use the SFTP client in an Applet:
Could not read property 'edtftp.log.level' due to security permissions
Could not read property 'edtftp.log.log4j' due to security permissions
...
...
Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission license.key read)
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.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
at com.enterprisedt.util.license.LicenseProperties.A(Unknown Source)
at com.enterprisedt.util.license.LicenseProperties.A(Unknown Source)
at com.enterprisedt.util.license.LicenseProperties.<init>(Unknown Source)
at com.enterprisedt.net.ftp.ssh.SSHFTPClient.<clinit>(Unknown Source)
... 3 more
I'm fully aware of applet permissions and the rules, but this applet IS signed. How are you reading this property? I have both the JAR files on the webserver and they are downloaded with my signed applet (or jar ).
Is there a way to disable logging so it won't attempt to read this property or is there any support with connecting from an Applet -- without modifying a policy file on a client's machine since that defeats the whole purpose of an applet.
(Sorry for the bombardment of questions, but I'm about to purchase the PRO product that includes SFTP, but it needs to run in an applet)
Thanks,