I still keep on getting AccessControlExceptions while trying to write to ADA.
The thing is, it works (although i can catch exceptions) in PowerDVD / WinDVD and on PS3 and Philips Blu-Ray-Player - whereas Sony's Blu-Ray-Players won't write anything to ADA.
So I got my FileManager class where i create a new FilePermissionsObject
myFilePermission = new FilePermission(directory, "read,write,delete");
directory is the path i got through the System and Xlet properties divided by file.separator. Everything looks fine, but when I check the permissions by
I get the following Exceptions: (OrgID and AppID renamed here in forum!)
Security Manager : com.cl.bdj.jar.BDJSecurityManager@f93424
java.security.AccessControlException: access denied (java.io.FilePermission /APDA/orgID/appID/ read,write,delete)
FileManager: Access Context: java.security.AccessControlContext@41833f
org.dvb.io.persistent FileAccessPermission are alle set to true!
Any ideas why that permission-stuff ain't working! How to get rid of the AccessControl Exceptions and write to ADA safely? Is the BDJSecurityManager different?
Thanks a lot guys!
All the best,