I am trying to secure the twiddle command line tool. I was able to successfully secure the j-console using the follwing parameters:
-Dcom.sun.management.jmxremote.port=9002 \
-Dcom.sun.management.jmxremote.authenticate=true \
-Dcom.sun.management.jmxremote.ssl=false \
-Dcom.sun.management.jmxremote.password.file=XXX \
-Dcom.sun.management.jmxremote.access.file=XXX \
What am I missing to get twiddle to use a username and password.
Try like this:
sh twiddle.sh -s jnp://ip-server:port-server -u user -p password info jboss.system:type=Server