Re: Using a custom JAAS LoginModule with karaf

2018-04-06 Thread luke
Hey Martin, You raised an interesting scenario - have you tried to debug JAAS code from JRE which gets called after ShiroJaasIntegration module returns? Your configuration seems fine, if shiro fails properties login module is used as fallback. If it doesn’t get called then we need to check what

Re: Using a custom JAAS LoginModule with karaf

2018-04-06 Thread Martin Nielsen
I found the problem. The blueprint configuration works as intended. But as i debug my way through the org.apache.karaf.jaas.boot.ProxyLoginModule i end up in the catch clause when trying to create the PropertiesLoginModule. ClassNotFoundException

configuration updates

2018-04-06 Thread Leschke, Scott
I thought changes to a service configuration were propagated to the associated .cfg file. The configuration changes have definitely taken place but I'm not seeing the I'm not seeing the changes reflected in the .cfg. Was I mistaken? This is on 4.2.0 M2 on Windows. Thanks, Scott

Re: configuration updates

2018-04-06 Thread Jean-Baptiste Onofré
OK, thanks for the update. Regards JB On 04/06/2018 06:42 PM, Leschke, Scott wrote: > The initial configuration is created using a .cfg file so it has it, but when > I edit the configuration (programmatically), I neglected to carry it over so > I see that it's no longer there. So don't worry

Re: configuration updates

2018-04-06 Thread Jean-Baptiste Onofré
Hi Scott, correct, config:update is propagated to cfg file (it's a fix I did on 4.0.x and 4.1.x). Let me check on 4.2.x. Regards JB On 04/06/2018 05:30 PM, Leschke, Scott wrote: > I thought changes to a service configuration were propagated to the associated > .cfg file.  The configuration

Re: configuration updates

2018-04-06 Thread Jean-Baptiste Onofré
By the way, just to know, do you have felix.fileinstall.file property on the configuration ? Regards JB On 04/06/2018 05:30 PM, Leschke, Scott wrote: > I thought changes to a service configuration were propagated to the associated > .cfg file.  The configuration changes have definitely taken

RE: configuration updates

2018-04-06 Thread Leschke, Scott
The initial configuration is created using a .cfg file so it has it, but when I edit the configuration (programmatically), I neglected to carry it over so I see that it's no longer there. So don't worry about it for now. I'll fix that and let you know if I still have issues, which I suspect I