Re: Uninstalled API bundle, yet implementation still resolves and starts

2015-11-04 Thread Robert Onslow
Sorry Hadn't realised it was a running framework! On Wed, Nov 4, 2015 at 11:11 AM, Neil Bartlett <njbartl...@gmail.com> wrote: > > > On 4 Nov 2015, at 11:07, Robert Onslow <robert.ons...@gmail.com> wrote: > > > > Delete the directory called felix-cache?? &g

Re: Uninstalled API bundle, yet implementation still resolves and starts

2015-11-04 Thread Robert Onslow
Delete the directory called felix-cache?? On Wed, Nov 4, 2015 at 10:42 AM, Neil Bartlett wrote: > > > On 4 Nov 2015, at 10:37, i...@cuhka.com wrote: > > > > I have an API bundle and and implementation bundle. I removed both the > API and implementation, re-installed the

ConditionalPermissionAdmin tutorial

2015-09-14 Thread Robert Onslow
I have managed to piece together the following approach to implementing security in OSGI. First, apply some VM arguments: -Dorg.osgi.framework.security="osgi" -Dosgi.signedcontent.support=true -Djava.security.policy=policy.all Next, install the org.apache.felix.framework bundle felix.conf:

Re: Using Felix Framework Security

2016-04-15 Thread Robert Onslow
Glad I can maybe do something useful for the list here, because I spent some time experimenting with org.apache.felix.framework.security. I'm now using this framework in an application (called xbundle) to ensure all osgi bundles are signed. I start Felix with the following VM args

Re: NoClassDefFoundError of classes that are in the JRE

2016-08-11 Thread Robert Onslow
ve no effect. I'll open a > tracker with Oracle on this. > Anything else I can try? > > Thanks > > > -----Original Message- > From: Robert Onslow [mailto:robert.ons...@gmail.com] > Sent: Donnerstag, 11. August 2016 11:09 > To: users@felix.apache.or

Re: NoClassDefFoundError of classes that are in the JRE

2016-08-11 Thread Robert Onslow
Liechti <remo.liec...@swisslog.com> wrote: > Hi Robert > > Good to hear that. Anything else to put in, like version number or the like? > When I put it in like this, it didn't work: > > Import-Package: javax.xml.parsers, > ..., > ..., > > Thanks > > > ---

Re: how to enable felix verify the contents of a signed bundle

2016-08-16 Thread Robert Onslow
Sid You need to tell the framework something about what to expect from the signed bundles. To do this, pick up the ConditionalPermssionAdmin service and register a new ConditionalPermissionInfo. Something like this in an Activator ServiceReference ref =

Re: how to enable felix verify the contents of a signed bundle

2016-08-22 Thread Robert Onslow
Sid Did you try my recipe? Robert On Mon, Aug 22, 2016 at 8:12 AM, sid19039 wrote: > Hello > @Robert and @Karl, Thank you so much for your answers. > > Via > -Dfelix.keystore=file:certificates.ks -Dfelix.keystore.pass=foobar > -Dfelix.keystore.type=jks > I am able to verify

Re: how to enable felix verify the contents of a signed bundle

2016-10-21 Thread Robert Onslow
Sid I'm afraid I don't know the answer to this question. Sorry Robert On Fri, Oct 21, 2016 at 12:44 PM, sid19039 wrote: > Hello, > > Please provide some inputs/suggestions on the above scenario... > > Regards > Siddharth > > > > -- > View this message in context: >