public interface JMXConnectionHandlerCfgClient extends ConnectionHandlerCfgClient
The JMX Connection Handler is used to interact with clients using the Java Management Extensions (JMX) protocol.
Modifier and Type | Method and Description |
---|---|
ManagedObjectDefinition<? extends JMXConnectionHandlerCfgClient,? extends JMXConnectionHandlerCfg> |
definition()
Get the configuration definition associated with this JMX Connection Handler.
|
String |
getJavaClass()
Gets the "java-class" property.
|
String |
getKeyManagerProvider()
Gets the "key-manager-provider" property.
|
InetAddress |
getListenAddress()
Gets the "listen-address" property.
|
Integer |
getListenPort()
Gets the "listen-port" property.
|
int |
getRmiPort()
Gets the "rmi-port" property.
|
SortedSet<String> |
getSSLCertNickname()
Gets the "ssl-cert-nickname" property.
|
boolean |
isUseSSL()
Gets the "use-ssl" property.
|
void |
setJavaClass(String value)
Sets the "java-class" property.
|
void |
setKeyManagerProvider(String value)
Sets the "key-manager-provider" property.
|
void |
setListenAddress(InetAddress value)
Sets the "listen-address" property.
|
void |
setListenPort(int value)
Sets the "listen-port" property.
|
void |
setRmiPort(Integer value)
Sets the "rmi-port" property.
|
void |
setSSLCertNickname(Collection<String> values)
Sets the "ssl-cert-nickname" property.
|
void |
setUseSSL(Boolean value)
Sets the "use-ssl" property.
|
getAllowedClient, getDeniedClient, isEnabled, setAllowedClient, setDeniedClient, setEnabled
commit, properties
ManagedObjectDefinition<? extends JMXConnectionHandlerCfgClient,? extends JMXConnectionHandlerCfg> definition()
definition
in interface ConfigurationClient
definition
in interface ConnectionHandlerCfgClient
String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the JMX Connection Handler implementation.
getJavaClass
in interface ConnectionHandlerCfgClient
void setJavaClass(String value) throws PropertyException
Specifies the fully-qualified name of the Java class that provides the JMX Connection Handler implementation.
setJavaClass
in interface ConnectionHandlerCfgClient
value
- The value of the "java-class" property.PropertyException
- If the new value is invalid.String getKeyManagerProvider()
Specifies the name of the key manager that should be used with this JMX Connection Handler .
void setKeyManagerProvider(String value) throws PropertyException
Specifies the name of the key manager that should be used with this JMX Connection Handler .
value
- The value of the "key-manager-provider" property.PropertyException
- If the new value is invalid.InetAddress getListenAddress()
Specifies the address on which this JMX Connection Handler should listen for connections from JMX clients.
If no value is provided, then the JMX Connection Handler listens on all interfaces.
void setListenAddress(InetAddress value) throws PropertyException
Specifies the address on which this JMX Connection Handler should listen for connections from JMX clients.
If no value is provided, then the JMX Connection Handler listens on all interfaces.
value
- The value of the "listen-address" property.PropertyException
- If the new value is invalid.Integer getListenPort()
Specifies the port number on which the JMX Connection Handler will listen for connections from clients.
Only a single port number may be provided.
void setListenPort(int value) throws PropertyException
Specifies the port number on which the JMX Connection Handler will listen for connections from clients.
Only a single port number may be provided.
value
- The value of the "listen-port" property.PropertyException
- If the new value is invalid.int getRmiPort()
Specifies the port number on which the JMX RMI service will listen for connections from clients. A value of 0 indicates the service to choose a port of its own.
If the value provided is different than 0, the value will be used as the RMI port. Otherwise, the RMI service will choose a port of its own.
void setRmiPort(Integer value) throws PropertyException
Specifies the port number on which the JMX RMI service will listen for connections from clients. A value of 0 indicates the service to choose a port of its own.
If the value provided is different than 0, the value will be used as the RMI port. Otherwise, the RMI service will choose a port of its own.
value
- The value of the "rmi-port" property.PropertyException
- If the new value is invalid.SortedSet<String> getSSLCertNickname()
Specifies the nicknames (also called the aliases) of the certificates that the JMX Connection Handler should use when performing SSL communication. The property can be used multiple times (referencing different nicknames) when an RSA, a DSA, and an ECC based server certificate is used in parallel.
This is only applicable when the JMX Connection Handler is configured to use SSL.
void setSSLCertNickname(Collection<String> values) throws PropertyException
Specifies the nicknames (also called the aliases) of the certificates that the JMX Connection Handler should use when performing SSL communication. The property can be used multiple times (referencing different nicknames) when an RSA, a DSA, and an ECC based server certificate is used in parallel.
This is only applicable when the JMX Connection Handler is configured to use SSL.
values
- The values of the "ssl-cert-nickname" property.PropertyException
- If one or more of the new values are invalid.boolean isUseSSL()
Indicates whether the JMX Connection Handler should use SSL.
If enabled, the JMX Connection Handler will use SSL to encrypt communication with the clients.
void setUseSSL(Boolean value) throws PropertyException
Indicates whether the JMX Connection Handler should use SSL.
If enabled, the JMX Connection Handler will use SSL to encrypt communication with the clients.
value
- The value of the "use-ssl" property.PropertyException
- If the new value is invalid.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.