ฉันใช้ JConsole เพื่อเข้าถึงแอปพลิเคชัน MBeans ของฉัน ขณะนี้ไม่มีการรับรองความถูกต้อง ฉันต้องการสร้างการตรวจสอบสิทธิ์ตามชื่อผู้ใช้/รหัสผ่านเมื่อผู้ใช้เข้าถึงผ่าน Jconsole
ฉันค้นหาใน Google และลองวิธีการสองสามวิธี แต่ Jconsole ยังคงแสดงข้อความ "การเชื่อมต่อล้มเหลว: การเชื่อมต่อถูกปฏิเสธ: เชื่อมต่อ" ฉันได้ชุดคุณสมบัติต่อไปนี้ในขณะที่เริ่มโปรแกรม
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=8222
-Dcom.sun.management.jmxremote.authenticate=true
-Dcom.sun.management.jmxremote.password.file=C:\secure\jmxremote.password
-Dcom.sun.management.jmxremote.access.file=C:\secure\jmxremote.access
-Dcom.sun.management.jmxremote.ssl=false
กรุณาช่วย.
ขอบคุณ