]
Darran Lofthouse reassigned REMJMX-104:
---------------------------------------
Assignee: (was: Darran Lofthouse)
Xnio Options passed in environment are not passed down
------------------------------------------------------
Key: REMJMX-104
URL:
https://issues.jboss.org/browse/REMJMX-104
Project: Remoting JMX
Issue Type: Bug
Components: Connection
Affects Versions: 1.1.3.Final
Reporter: Brad Maxwell
XNIO options are not passed down when specified in the environment, preventing the client
from specifying things such as SSL_ENABLED=false
{code}
JMXServiceURL jmxUrl = new JMXServiceURL(url);
Hashtable env = new Hashtable();
env.put("org.xnio.Options.SSL_ENABLED","false");
String[] credentials = new String[] { user, pass };
env.put(JMXConnector.CREDENTIALS, credentials);
this.jmxConnector = JMXConnectorFactory.connect(jmxUrl, env);
{code}