code: private HashMap<String, Object> createJMXEnvironment(final String user, final String password, final SSLSocketFactory sslSF) {
          HashMap<String, Object> environment = new HashMap<String, Object>();
          environment.put("jmx.remote.protocol.provider.pkgs", "com.ibm.ws.jmx.connector.client");
          environment.put(JMXConnector.CREDENTIALS, new String[] { user, password });
          environment.put(ClientProvider.READ_TIMEOUT, 2 * 60 * 1000);
          environment.put(ConnectorSettings.DISABLE_HOSTNAME_VERIFICATION, Boolean.TRUE);
          environment.put(ConnectorSettings.CUSTOM_SSLSOCKETFACTORY, sslSF);
          environment.put("isCollectiveUtil", Boolean.TRUE);
          return environment;
      }
docs: Creates the common JMX environment used to connect to the controller.
  
  @param user
  @param password
  @return