Re: Authentication in a custom web application in karaf

2019-06-24 Thread cooshal
Hi: I had other issues. Thus, I could not try this out. I will try this today, and get back. Thank you for your time :) Regards, Cooshal. -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: Authentication in a custom web application in karaf

2019-06-21 Thread Steinar Bang
> cooshal : > Hi: > thank you ! > I will look at it and will get back to you. > When I started this project, I used a very simple approach, which did not > require any involvement of web.xml configuration. Later, I realized that I > chose the wrong architecture. > I will try and test with

Re: Authentication in a custom web application in karaf

2019-06-18 Thread Jean-Baptiste Onofré
I'm on the way to merge the example. Regards JB On 18/06/2019 13:01, cooshal wrote: > Hi: > > thank you ! > > I will look at it and will get back to you. > > When I started this project, I used a very simple approach, which did not > require any involvement of web.xml configuration. Later, I

Re: Authentication in a custom web application in karaf

2019-06-18 Thread cooshal
Hi: thank you ! I will look at it and will get back to you. When I started this project, I used a very simple approach, which did not require any involvement of web.xml configuration. Later, I realized that I chose the wrong architecture. I will try and test with your approach. Thanks again.

Re: Authentication in a custom web application in karaf

2019-06-16 Thread Steinar Bang
> cooshal : > Hi: > thank you for your reply. > Thank you for sharing the project. I looked at the project, but I guess this > implementation is too complicated for my current needs. I have an extremely > simply HTML/JS application, for which I want it to be authenticated using > karaf

Re: Authentication in a custom web application in karaf

2019-06-16 Thread cooshal
Hi: thank you for your reply. Thank you for sharing the project. I looked at the project, but I guess this implementation is too complicated for my current needs. I have an extremely simply HTML/JS application, for which I want it to be authenticated using karaf realm, for example. I was

Re: Authentication in a custom web application in karaf

2019-06-15 Thread Steinar Bang
> cooshal : > Hi: > I have a sample web application, which I need to be protected by > authentication, just the way it does for Hawtio or other similar > applications. > I have my sample code here > (https://github.com/cooshal/karaf-assembly-jms/tree/master/modules/web-console). > t's an

Re: Authentication in a custom web application in karaf

2019-06-12 Thread cooshal
Hi again ! I have further updates on this issue. I tried two different approaches: 1. Tried deploying this project as a war. I used the same web.xml file, but changed the packaging type ko war. But, the Web-ContextPath in `web:list` doesn't show management. And I struggled a bit to configure

Re: Authentication in a custom web application in karaf

2019-06-12 Thread cooshal
Hi: I just tried adding 'war' in the bootFeatures. I tried deploying the same webconsole bundle in the karaf instance. This does not seem to trigger the web.xml's configuration options. Is my pom (https://github.com/cooshal/karaf-assembly-jms/blob/master/modules/web-console/pom.xml) correct?

Re: Authentication in a custom web application in karaf

2019-06-12 Thread cooshal
Hi: thanks. I will try that out. Regards, Cooshal. -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: Authentication in a custom web application in karaf

2019-06-11 Thread Francois Papon
Hi, You have to add the war feature in your bootFeatures. regards, François fpa...@apache.org Le 11/06/2019 à 22:50, Francois Papon a écrit : > Hi, > > Let me try with your repo. > > regards, > > François > fpa...@apache.org > > Le 11/06/2019 à 19:16, cooshal a écrit : >> Hi again fpapon, >>

Re: Authentication in a custom web application in karaf

2019-06-11 Thread Francois Papon
Hi, Let me try with your repo. regards, François fpa...@apache.org Le 11/06/2019 à 19:16, cooshal a écrit : > Hi again fpapon, > > As I have pointed out in my previous post, I have configured the web.xml >

Re: Authentication in a custom web application in karaf

2019-06-11 Thread cooshal
Hi again fpapon, As I have pointed out in my previous post, I have configured the web.xml (https://github.com/cooshal/karaf-assembly-jms/blob/master/modules/web-console/src/main/webapp/WEB-INF/web.xml#L24) to use the karaf realm. But, I am still not able to get the authentication functionality

Re: Authentication in a custom web application in karaf

2019-06-11 Thread cooshal
Hi: yes ! and I have already configured that in web.xml as well. https://github.com/cooshal/karaf-assembly-jms/blob/master/modules/web-console/src/main/webapp/WEB-INF/web.xml#L24 Regards, Cooshal. -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: Authentication in a custom web application in karaf

2019-06-11 Thread Francois Papon
Hi, Do you want to use Karaf realm? regards, François fpa...@apache.org Le 11/06/2019 à 14:07, cooshal a écrit : > Hi: > > I have a sample web application, which I need to be protected by > authentication, just the way it does for Hawtio or other similar > applications. > > I have my sample

Authentication in a custom web application in karaf

2019-06-11 Thread cooshal
Hi: I have a sample web application, which I need to be protected by authentication, just the way it does for Hawtio or other similar applications. I have my sample code here (https://github.com/cooshal/karaf-assembly-jms/tree/master/modules/web-console). t's an extremely basic web app with an