So I could write my own logic that checks the bundle via a "custom condition"? That would be perfect - is there a resource that you would recommend that shows how to implement a custom condition?
Thanks! --Stephen ----- Original Message ----- From: "Karl Pauls" <[email protected]> To: [email protected] Sent: Wednesday, May 18, 2016 9:34:28 AM Subject: Re: felix bundle security Hm, I guess you could do that, yes. However, are you sure you want to implement your own provider? If you are running with security enabled, why not just use the existing provider and write your own custom condition that checks the bundle? regards, Karl On Wed, May 18, 2016 at 2:54 PM, Stephen Higgs <[email protected]> wrote: > [Note - Originally Sent to Karaf users list, but may be more appropriate > for the felix users list] > > Hi all, > > If I wanted to implement custom logic to examine bundles that are > installed for security purposes, would the following be appropriate? > > 1) set org.osgi.framework.security=osgi > 2) create an implementation of > org.apache.felix.framework.ext.SecurityProvider > 3) add the new security provider to startup.properties > > Would this achieve the desired ability to checkBundle() for all bundles > during startup and thereafter? > > Thank you, > > Stephen Higgs > > --------------------------------------------------------------------- > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

