You could give your own security manager implementation that logs permissions that are requested.
regards, Karl On Sun, Nov 4, 2012 at 1:00 PM, bokie <[email protected]> wrote: > I am trying to tune permissions on a 3rd party jar. > > With a lack of some permissions, exceptions are thrown while others just > fail silently which makes it very difficult to give the bundle only the > permissions it needs. > > Is there any way to ALWAYS get exceptions to be thrown in order to make > "permission tuning" easier and give the bundle just the permissions it > needs: > (java.util.PropertyPermission "propX" "read") instead of > (java.util.PropertyPermission "*" "read,write") > > Thanks, > Bokie > > > > -- > View this message in context: > http://apache-felix.18485.n6.nabble.com/Tuning-permissions-tp5000251.html > Sent from the Apache Felix - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Karl Pauls [email protected] http://twitter.com/karlpauls http://www.linkedin.com/in/karlpauls https://profiles.google.com/karlpauls

