Package org.opends.server.protocols.jmx
Class RmiConnector
- java.lang.Object
-
- org.opends.server.protocols.jmx.RmiConnector
-
public class RmiConnector extends Object
The RMI connector class starts and stops the JMX RMI connector server. There are 2 different connector servers- the RMI Client connector server, supporting TLS-encrypted. communication, server authentication by certificate and client authentication by providing appropriate LDAP credentials through SASL/PLAIN.
- the RMI client connector server, supporting TLS-encrypted communication, server authentication by certificate, client authentication by certificate and identity assertion through SASL/PLAIN.
Each connector is registered into the JMX MBean server.
-
-
Field Summary
Fields Modifier and Type Field Description protected JMXConnectorServer
jmxRmiConnectorNoClientCertificate
The reference to the JMX connector client with no SSL client authentication.
-
Constructor Summary
Constructors Constructor Description RmiConnector(MBeanServer mbs, JmxConnectionHandler jmxConnectionHandler)
Create a new instance of RmiConnector .
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finalizeConnectionHandler(boolean stopRegistry)
Closes this connection handler so that it will no longer accept new client connections.String
getProtocolVersion()
Retrieves the RMI protocol version string in use for this connector.void
initialize()
Activates the RMI Connectors.
-
-
-
Field Detail
-
jmxRmiConnectorNoClientCertificate
protected JMXConnectorServer jmxRmiConnectorNoClientCertificate
The reference to the JMX connector client with no SSL client authentication.
-
-
Constructor Detail
-
RmiConnector
public RmiConnector(MBeanServer mbs, JmxConnectionHandler jmxConnectionHandler)
Create a new instance of RmiConnector .- Parameters:
mbs
- The MBean server.jmxConnectionHandler
- The associated JMX Connection Handler
-
-
Method Detail
-
initialize
public void initialize()
Activates the RMI Connectors. It starts the secure connectors.
-
finalizeConnectionHandler
public void finalizeConnectionHandler(boolean stopRegistry)
Closes this connection handler so that it will no longer accept new client connections. It may or may not disconnect existing client connections based on the provided flag.- Parameters:
stopRegistry
- Indicates if the RMI registry should be stopped
-
getProtocolVersion
public String getProtocolVersion()
Retrieves the RMI protocol version string in use for this connector.- Returns:
- The RMI protocol version string in use for this connector.
-
-