[
https://jira.jboss.org/jira/browse/JBMESSAGING-1689?page=com.atlassian.ji...
]
Howard Gao commented on JBMESSAGING-1689:
-----------------------------------------
To use these two parameters, we need to pass those properties in constructing Client with
its constructor Client(locator, config).
There are two places in JBM code base where remoting client are created. One is
JMSRemotingConnection.start(), the other is
ClientConnectionFactoryDelegate.createClient(). We can use the following code to pass the
parameters in both places:
String trustStoreLoc =
System.getProperty("org.jboss.remoting.trustStore");
if (trustStoreLoc != null)
{
configuration.put("org.jboss.remoting.trustStore", trustStoreLoc);
String trustStorePassword =
System.getProperty("org.jboss.remoting.trustStorePassword");
if (trustStorePassword != null)
{
configuration.put("org.jboss.remoting.trustStorePassword",
trustStorePassword);
}
}
Pass trustStore parameters to remoting layer
--------------------------------------------
Key: JBMESSAGING-1689
URL:
https://jira.jboss.org/jira/browse/JBMESSAGING-1689
Project: JBoss Messaging
Issue Type: Feature Request
Components: JMS Security
Affects Versions: 1.4.0.SP3
Reporter: Colin Mondesir
Assignee: Howard Gao
Fix For: 1.4.0.SP3.CP09, 1.4.5.GA
The two trustStore parameters:
org.jboss.remoting.trustStorePassword
org.jboss.remoting.trustStore
Are not currently passed by JBM to the remoting layer.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira