[jboss-jira] [JBoss JIRA] (REMJMX-104) Xnio Options passed in environment are not passed down
Darran Lofthouse (JIRA)
issues at jboss.org
Tue Aug 21 08:04:01 EDT 2018
[ https://issues.jboss.org/browse/REMJMX-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list