1

atm I use the following java params to enable remote access for a java application. But everyone who does a port scan can get access. I couldn“t find the params to set a user and password or ip whitelist. How can I do this ?

java
 -Dcom.sun.management.jmxremote
 -Dcom.sun.management.jmxremote.port=9000
 -Dcom.sun.management.jmxremote.ssl=false
 -Dcom.sun.management.jmxremote.authenticate=false
class
user2693017
  • 1,750
  • 6
  • 24
  • 50

1 Answers1

1

See this web page, which describes all the required settings for JMX monitoring with authentication.

Tomas Hurka
  • 6,723
  • 29
  • 38