> I am currently using Felix with a security manager and I have noticed some > permission errors (access denied during the opening of local files with "all > permissions").
Could you please be a bit more specific about the actual setup/configuration/error? Does the framework really have all permission? > This issue has appeared since the commit 618095. In fact, the > BundleProtectionDomain calls the super class ProtectionDomain without > specifying the source code or the permissions. Before this commit, both of > them were set (for the permission, it was at nay rate not acceptable). Well, we do have some support for security implemented as an extension bundle. It is not complete yet but a start. As a consequence, we don't support the normal Java policy file way of assigning permissions anymore. What should happen in case the framework has all permissions, a security manager is set but the extension bundle is not installed is that all bundles loaded by the framework should have all permissions as well. > I think that the BundleProtectionDomain should call the ProtectionDomain > constructor by setting the source code attibute in order to load the > security policies relative to a bundle url. It might be possible to default to the permissions in the current policy in case we don't have security support. I'll look into it. However, it is not as easy as specifying the source only because we take over permission checks for bundles -- hence, the source attribute would be ignored. regards, Karl > What do you thing? > > Regards, > François > -- Karl Pauls [EMAIL PROTECTED]
