New security mechanism in Karaf 3.0.0

2013-12-20 Thread Ryan Moquin
Hi, I ran into a problem recently as I was working on some code where Karaf responds with the following error when I execute an "instance:stop" command: Caused by: java.lang.SecurityException: Insufficient credentials. at org.apache.karaf.service.guard.impl.GuardProxyCatalog$ProxyInvocatio

Re: New security mechanism in Karaf 3.0.0

2013-12-20 Thread David Bosschaert
Hi Ryan, I'll look at it on Monday. AFAIK there are no special ACLs for the instance commands (at least not by default). So you might have possibly found a bug... Cheers, David On 20 December 2013 21:47, Ryan Moquin wrote: > Hi, I ran into a problem recently as I was working on some code where

Re: New security mechanism in Karaf 3.0.0

2013-12-20 Thread Ryan Moquin
Thanks for the response, I wouldn't be surprised since it's very out of place.. I'll try to reproduce it then file a bug report and hopefully include a fix. Ryan On Dec 20, 2013 5:23 PM, "David Bosschaert" wrote: > Hi Ryan, > > I'll look at it on Monday. AFAIK there are no special ACLs for the

Re: Clustered Web Console Installation

2013-12-20 Thread Fernando Ribeiro
Hi Jean-Baptiste, I am still thinking if the replication of the bundles to the second node is really an issue, and also that the fact that the bundle list in the two nodes isn't the same should be reported separately. Let me know when you find the time to look into this with me. Regards, On Th

Re: Clustered Web Console Installation

2013-12-20 Thread Jean-Baptiste Onofré
Hi Fernando, If you blacklist the webconsole feature, Cellar will block the feature:install and cluster:feature-install webconsole events. If you install locally feature:install and use bundle sync, the bundles will be sync. It's normal. By default, I disable the bundle sync (blacklist=* whitel

Re: New security mechanism in Karaf 3.0.0

2013-12-20 Thread Jean-Baptiste Onofré
Hi Ryan, let me take a look on that. AFAIR, I tested it without problem when preparing Karaf 3.0.0 release. Regards JB On 12/20/2013 10:47 PM, Ryan Moquin wrote: Hi, I ran into a problem recently as I was working on some code where Karaf responds with the following error when I execute an "i

Re: New security mechanism in Karaf 3.0.0

2013-12-20 Thread Ryan Moquin
I have no doubt it works correctly except the shutdown of every test starts doing thag now. If you run my cellar fork, you should see the issue happen on a lot of tests . Thanks, Ryan On Dec 21, 2013 12:36 AM, "Jean-Baptiste Onofré" wrote: > Hi Ryan, > > let me take a look on that. AFAIR, I tes

Re: New security mechanism in Karaf 3.0.0

2013-12-20 Thread Jean-Baptiste Onofré
Hi Ryan, I just built a Karaf 3.0.0-SNAPSHOT and I did: karaf@root()> instance:list SSH Port | RMI Registry | RMI Server | State | PID | Name - 8101 | 1099 | 4 | Started | 16348 | root karaf@root()> instance:cre