Possible to relocate karaf.history on Linux?
All, We're having to run setuid while running a karaf-based server (servicemix). Everything works, and we've handled most permissions issues related to the necessary switch. The one nagging issue that's left is that user/.karaf/karaf.history was saved under the original user's home directory, so the second user doesn't have access to it. So... is there a way in karaf to specify the location of the karaf.history file? Thanks, Troy -- View this message in context: http://karaf.922171.n3.nabble.com/Possible-to-relocate-karaf-history-on-Linux-tp3198803p3198803.html Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Possible to relocate karaf.history on Linux?
Thanks for the response. I'll look through the issues to see if there is already a duplicate. -- View this message in context: http://karaf.922171.n3.nabble.com/Possible-to-relocate-karaf-history-on-Linux-tp3198803p3198911.html Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Possible to relocate karaf.history on Linux?
There is an issue (KARAF-447) that was posted and already fixed in Karaf 2.2.0 and 3.0.0 branches. The issue doesn't address my primary question, which is the possibility of relocating the karaf.history file, but at least Karaf will gracefully handle the case where it can't access/create/modify the file. -- View this message in context: http://karaf.922171.n3.nabble.com/Possible-to-relocate-karaf-history-on-Linux-tp3198803p3201657.html Sent from the Karaf - User mailing list archive at Nabble.com.
Custom JAAS Login Module
AFAIK, Karaf uses a custom JAAS Login module to control remot web console, SSH, and JMX access. I know that there are ways to specify additional providers, but is there a "clean" way to specify our own JAAS Login module instead of the one provided by Karaf? We would like to force all remote access through our authentication layer. Thanks in advance, Troy -- View this message in context: http://karaf.922171.n3.nabble.com/Custom-JAAS-Login-Module-tp3201689p3201689.html Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Custom JAAS Login Module
Thanks, but I've looked at that documentation, but our requirement is a little more involved. We have our own authentication mechanism that we use for authentication into our web application that is hosted in jetty/karaf/servicemix. We really want to be able redirect all other access points (SSH, JMX, etc.) through our authentication scheme as well. Since Karaf's authentication is based on JAAS, we should be able to replace Karaf's JAAS Login module with our own (at least in theory). Thanks, Troy -- View this message in context: http://karaf.922171.n3.nabble.com/Custom-JAAS-Login-Module-For-web-console-SSH-JMX-Remote-Access-tp3201689p3201832.html Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Custom JAAS Login Module
Thanks. This provides the information that I was looking for. -- View this message in context: http://karaf.922171.n3.nabble.com/Custom-JAAS-Login-Module-For-web-console-SSH-JMX-Remote-Access-tp3201689p3204003.html Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Possible to relocate karaf.history on Linux?
Will do. Which version should I write it against? 2.2.4? 3.1.0? Other? -- View this message in context: http://karaf.922171.n3.nabble.com/Possible-to-relocate-karaf-history-on-Linux-tp3198803p3207882.html Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Possible to relocate karaf.history on Linux?
I went ahead and created a karaf issue for this. I didn't specify the affectedVersion or fixVersion. The issue is KARAF-798. Thanks -- View this message in context: http://karaf.922171.n3.nabble.com/Possible-to-relocate-karaf-history-on-Linux-tp3198803p3208169.html Sent from the Karaf - User mailing list archive at Nabble.com.