On 7/27/12 08:34 , Karl Pauls wrote:
Yeah, the problem is that the dependencymanager isn't doing doPriv's
either so your kinda stuck there. Obviously, giving bundles this kind
of permissions kinda ruins everything (as they could use reflection).
Either you need to stop using dependencymanager or convince Marcel to
start using doPriv's where necessary (I'm sure patches are welcome :-)
A good first step would be to open a bug report in JIRA for it...
-> richard
regards,
Karl
On Fri, Jul 27, 2012 at 2:20 PM, bokie <[email protected]> wrote:
Got it to work!!!!
A part in my code is "getting" services based on a specific filter and this
part was not running in a doPrivileged() block - no exceptions where been
thrown.
Still on the subject of the DM - all my bundles that use it require the
following permissions:
(java.util.PropertyPermission "*" "read")
(java.lang.RuntimePermission "accessDeclaredMembers" "")
(java.lang.reflect.ReflectPermission "suppressAccessChecks" "")
Is this normal?
At the moment I'm guessing that this is because my activator extends
DependencyActivatorBase which requires these permissions.
Thanks
Bokie
--
View this message in context:
http://apache-felix.18485.n6.nabble.com/framework-security-tp4998719p4998728.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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]