"ds-cfg-enabled: true",
"ds-cfg-use-ssl: false", "ds-cfg-listen-port: "
+ serverJmxPort, "cn: JMX Connection Handler");
InternalClientConnection connection =
InternalClientConnection.getRootConnection();
AddOperationBasis addOp = new AddOperationBasis(connection,
InternalClientConnection.nextOperationID(),
InternalClientConnection.nextMessageID(), null,
newJmxConnectionJmx.getDN(), newJmxConnectionJmx
.getObjectClasses(), newJmxConnectionJmx
.getUserAttributes(), newJmxConnectionJmx
.getOperationalAttributes());
addOp.run();
Thread.sleep(200);
OpendsJmxConnector newJmxConnector = connect(
"cn=Privileged User,o=test", "password", serverJmxPort);
assertNotNull(newJmxConnector);
newJmxConnector.close();