Hi, I did the following test (on Karaf 4.2.3-SNAPSHOT):
1. In etc/org.apache.karaf.features.cfg, I added aries-blueprint as featuresBoot 2. I created deploy/config.xml containing: <?xml version="1.0" encoding="UTF-8"?> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:jaas="http://karaf.apache.org/xmlns/jaas/v1.0.0" xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"> <!-- Bean to allow the $[karaf.base] property to be correctly resolved --> <ext:property-placeholder placeholder-prefix="$[" placeholder-suffix="]"/> <jaas:config name="karaf" rank="1"> <jaas:module className="org.apache.karaf.jaas.modules.properties.PropertiesLoginModule" flags="required"> users = $[karaf.etc]/mybackend.properties </jaas:module> </jaas:config> </blueprint> In etc/mybackend.properties, I added my user (jbonofre). 3. Then I started Karaf. I can see the realm using jaas:* commands: karaf@root()> jaas:realm-list Index │ Realm Name │ Login Module Class Name ──────┼────────────┼─────────────────────────────────────────────────────────────── 1 │ karaf │ org.apache.karaf.jaas.modules.properties.PropertiesLoginModule karaf@root()> jaas:realm-manage --index 1 karaf@root()> jaas:user-list User Name │ Group │ Role ──────────┼────────────┼────────────── jbonofre │ admingroup │ admin jbonofre │ admingroup │ manager jbonofre │ admingroup │ viewer jbonofre │ admingroup │ systembundles jbonofre │ admingroup │ ssh 4. Now, I connect using ssh with my jbonofre user: ssh -p 8101 jbonofre@localhost So, it seems to work at least with the PropertiesLoginModule. Let me try a Apache Directory to test with the LDAPLoginModule. Regards JB On 06/02/2019 15:55, abdelb wrote: > Thanks for investigating. If it helps I have just tested this module in the > standard 4.0.8 and 4.2.2 distributions downloaded from the Karaf website. > > It works fine on 4.0.8; 4.2.2 is failing with the same message as my custom > distribution. > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com