Re: Basic authentication of WAB using Jaas in Karaf

2020-05-15 Thread Alex Soto
Are passing the BASIC Authentication header with user name and password? The user names and roles are defined in the 'etc/users.properties’ file, check Karaf documentation https://karaf.apache.org/manual/latest/#_security_2 The 'security.c

Re: Basic authentication of WAB using Jaas in Karaf

2020-05-15 Thread Gerald Kallas
Hi Alex, yes, I'm passing the HTTP "Authorization" header for basic authentication. My users.properties looks like karaf = xxx,_g_:admingroup _g_\:admingroup = group,admin,manager,viewer,systembundles,ssh username1 = password1,admin I'm testing with the username1 password1 combination, the req

Re: Basic authentication of WAB using Jaas in Karaf

2020-05-15 Thread Alex Soto
I’m not sure what is happening, but I noticed, you have ‘basic’ as lowercase, maybe it is case sensitive. Try uppercase: login.config.authMethod = BASIC Also, what is in your 'etc/jetty.xml’ and ‘etc/org.ops4j.pax.web.cfg’ files ? Best regards, Alex soto > On May 15, 2020, at 11:22 AM, G

Re: Basic authentication of WAB using Jaas in Karaf

2020-05-15 Thread Gerald Kallas
With "BASIC" the same. 2020-05-15T18:20:39,881 | INFO | CM Configuration Updater (Update: pid=org.ops4j.pax.web.context.f4d0bd8c-6751-447f-8067-2da2e2b7c45a) | HttpContextProcessing| 264 - org.ops4j.pax.web.pax-web-runtime - 7.2.14 | Updated configuration for pid=org.ops4j.pax.web

Re: Connecting to IBM MQ Cloud using camel JMS component

2020-05-15 Thread Reji Mathews
Oh i see what you mean! Indeed, I need to establish a jms connection. I decided to use camel-jms component. Referred this official ibm git example here -> https://github.com/ibm-messaging/mq-cloud-demo/blob/master/aws-backend-request/JMSLambdaFunction/src/main/java/com/example/lambda/ibmmq/JMSLamb

Re: Connecting to IBM MQ Cloud using camel JMS component

2020-05-15 Thread Reji Mathews
My current configuration of com.ibm.msg.client.jms.JmsConnectionFactory looks like follows { "XMSC_WMQ_SSL_KEY_RESETCOUNT": 0, "XMSC_WMQ_APPNAME": "testapp", "XMSC_WMQ_CHANNEL": "CLOUD.APP.SVRCONN", "failIfQuiesce": 1, "XMSC_WMQ_USE_CONNECTION_POOLING": true, "XMSC_WMQ_BROKER_CONTROLQ

Re: Basic authentication of WAB using Jaas in Karaf

2020-05-15 Thread Alex Soto
I’m sorry, I don’t know why it's not working; it looks correct to me. Maybe somebody from the Pax-Web team can help you. The only suspicious thing is the warning: 2020-05-15T18:20:50,256 | WARN | qtp1611313605-201 | SecurityHandler | 229 - org.eclipse.jetty.util - 9.4.22.v2019

Re: Connecting to IBM MQ Cloud using camel JMS component

2020-05-15 Thread Reji Mathews
This was sorted. Thanks. IBM documentation says by-default access is provided for test accounts to only those Queues which have names starting with DEV* Cheers Reji Mathews On Fri, 15 May 2020, 14:45 Reji Mathews, wrote: > My current configuration of > com.ibm.msg.client.jms.JmsConnectionFacto