Modifier and Type | Method and Description |
---|---|
ManagementUserConfig |
addUser(String name)
Deprecated.
Remote JMX users should be configured in the system
authentication store, or with a custom authentication
handler.
|
List<String> |
getAssignedRoles()
Deprecated.
since 5.9. Remote JMX users should be configured in the system
authentication store, or with a custom authentication
handler.
|
int |
getConnectionPort()
Gets the JMX service port.
|
String |
getHost()
Gets the host.
|
int |
getRegistryPort()
Gets the RMI registry port.
|
ManagementUserConfig |
getUser(String name)
Deprecated.
Remote JMX users should be configured in the system
authentication store, or with a custom authentication
handler.
|
List<ManagementUserConfig> |
getUsers()
Deprecated.
Remote JMX users should be configured in the system
authentication store, or with a custom authentication
handler.
|
boolean |
isEnabled()
Whether or not the external JMX Connector is enabled or not.
|
void |
setAssignedRoles(List<String> assignedRoles)
Deprecated.
since 5.9. Remote JMX users should be configured in the system
authentication store, or with a custom authentication
handler.
|
void |
setConnectionPort(int port)
Sets the JMX service port.
|
void |
setEnabled(boolean enabled)
Sets whether or not a remote JMX Connector is enabled or not.
|
void |
setHost(String host)
Set the host.
|
void |
setRegistryPort(int port)
Sets the RMI registry port.
|
void setHost(String host) throws ConfigException
By default this is "localhost".
host
- the host name or IP address.ConfigException
- if unable to set the propertyString getHost()
void setRegistryPort(int port) throws ConfigException
By default this is set to 1099.
port
- RMI registry portConfigException
- if unable to set the propertyint getRegistryPort()
void setConnectionPort(int port) throws ConfigException
By default this is 1100. If desired, it can be set to the same port number as the RMI registry port.
port
- the connection portConfigException
- if unable to set the propertyint getConnectionPort()
void setEnabled(boolean enabled) throws ConfigException
By default this is set to false.
enabled
- true to enable JMX managementConfigException
- if unable to set the propertyboolean isEnabled()
@Deprecated List<String> getAssignedRoles()
@Deprecated void setAssignedRoles(List<String> assignedRoles) throws ConfigException
assignedRoles
- the rolesConfigException
- if unable to set property@Deprecated List<ManagementUserConfig> getUsers()
@Deprecated ManagementUserConfig getUser(String name)
name
- the user name@Deprecated ManagementUserConfig addUser(String name) throws ConfigException
name
- user nameConfigException
- if unable to add a userCopyright © 2016 Push Technology Ltd. All Rights Reserved.