public class JmxHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BUNDLE_REST_JMX_IP_ALLOWED |
static String |
BUNDLE_REST_JMX_PASS |
static String |
BUNDLE_REST_JMX_ROOT |
private static JmxHelper |
helper |
private IPFilter |
ipfilter |
static Logger |
logger |
private String |
restJmxIPAllowed |
private String |
restJmxPass |
private String |
restJmxRoot |
Modifier | Constructor and Description |
---|---|
private |
JmxHelper() |
Modifier and Type | Method and Description |
---|---|
boolean |
authenticationRequired() |
boolean |
checkIPAddress(String addr)
Check if the addr is authorized (all local address is authorized).
|
static JmxHelper |
getInstance() |
String |
getRestJmxIPAllowed() |
String |
getRestJmxPass() |
String |
getRestJmxRoot() |
void |
init(org.osgi.framework.BundleContext bundleContext) |
public static Logger logger
public static final String BUNDLE_REST_JMX_ROOT
public static final String BUNDLE_REST_JMX_PASS
public static final String BUNDLE_REST_JMX_IP_ALLOWED
private static JmxHelper helper
private String restJmxRoot
private String restJmxPass
private String restJmxIPAllowed
private IPFilter ipfilter
public static JmxHelper getInstance()
public String getRestJmxRoot()
public String getRestJmxPass()
public String getRestJmxIPAllowed()
public boolean checkIPAddress(String addr)
addr
- The ip address to checkUnknownHostException
SocketException
public boolean authenticationRequired()
Copyright © 2023 ScalAgent D.T.. All rights reserved.