Trouble creating a conditional AdminPermission with Felix 7.0.3 and OSGi Secutiry 2.8.3

2022-02-02 Thread Chris Rankin
Even more frustrating is that I have already used this exact same ConditonInfo to restrict these bundles' ServicePermissions. I cannot understand why Felix Security is parsing this ConditionInfo differently for AdminPermission than it is for ServicePermission. Can anyone see what

RE: Trouble creating a conditional AdminPermission with Felix 7.0.3 and OSGi Secutiry 2.8.3

2022-02-02 Thread Chris Rankin
Hi, I am starting to suspect that the "CondtionInfo" aspect is actually working correctly, and that the actual problem is with AdminPermission itself. I have added this line to both a bundle whose location matches "CAGE/*" and one whose location doesn't:

Re: Trouble creating a conditional AdminPermission with Felix 7.0.3 and OSGi Secutiry 2.8.3

2022-02-02 Thread Chris Rankin
, Chris On Wed, 2 Feb 2022 at 17:40, Karl Pauls wrote: > > Sounds strange, do you have something you can share that reproduces the > problem? > > regards, > > Karl > > On Wed, Feb 2, 2022 at 3:56 PM Chris Rankin wrote: > > > > Hi, > > > > I am

Re: Trouble creating a conditional AdminPermission with Felix 7.0.3 and OSGi Secutiry 2.8.3

2022-02-03 Thread Chris Rankin
ou can share that reproduces the > problem? > > regards, > > Karl > > On Wed, Feb 2, 2022 at 3:56 PM Chris Rankin wrote: > > > > Hi, > > > > I am starting to suspect that the "CondtionInfo" aspect is actually > > working correctly, and th

Re: Trouble creating a conditional AdminPermission with Felix 7.0.3 and OSGi Secutiry 2.8.3

2022-02-04 Thread Chris Rankin
0(Native > Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.la