Also, take a look at org.apache.karaf.itests.KarafTestSupport.executeCommand
from
org.apache.karaf.itests
common
Best regards,
Alex soto
> On May 28, 2020, at 9:50 AM, Alex Soto wrote:
>
> Hi Gerald,
>
> There is no "/opt/apache-karaf/bin/user-add” in the default Karaf
> distribution
Hi Gerald,
There is no "/opt/apache-karaf/bin/user-add” in the default Karaf distribution,
AFAIK.
I think you may want to use the “/opt/apache-karaf/bin/client” script instead,
or SSH, or perhaps your best choice is to directly reference the implementation
Service as a bean. I don’t know whic
Hi all,
I've the following script (inside the container)
-rwxr-xr-x 1 casisp casisp 103 May 22 22:58 user-add
/opt/apache-karaf/bin/client "jaas:realm-manage --index 1; jaas:user-add user1
password1; jaas:update"
When I'm calling it from the command line directly it works.
Inside a route (see