[
http://jira.jboss.com/jira/browse/JBREM-581?page=comments#action_12345118 ]
Ron Sigal commented on JBREM-581:
---------------------------------
AbstractDetector and JNDIDetector have been updated with constructors that accept
configuration Maps, which can include SSL information (e.g., truststore path and
password). The configuration Map is passed in the call to
ConnectionValidator.checkConnection(), which the heartbeat and failure detection threads
use to try to contact a known server. ConnectionValidator.checkConnection() passes it to
the appropriate client invoker. Therefore, it is now possible for the detectors to
contact servers that use SSL connections, if the appropriate SSL information is made
available.
The test for SSL transports, added for JBREM-580, has been backed out.
Sample code can be found in org.jboss.remoting.samples.detection.jndi.ssl.
A new unit test has been added, org.jboss.test.remoting.detection.jndi.RestartTestCase, in
which a client detects that a server starts, stops, and starts again. That test is also
extended to an SSL specific version:
org.jboss.test.remoting.detection.jndi.ssl.SSLRestartTestCase,
can not do connection validation with ssl transport (only impacts
detection)
----------------------------------------------------------------------------
Key: JBREM-581
URL:
http://jira.jboss.com/jira/browse/JBREM-581
Project: JBoss Remoting
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: detection
Affects Versions: 2.0.0.CR1 (Boon)
Reporter: Tom Elrod
Assigned To: Tom Elrod
Fix For: 2.2.0.Beta1 (Bluto)
When a detector gets the detection message from a server, the detection message does not
include (nor should it), the ssl info needed to make the ping invocation on that server to
verify it is indeed dead. Per JBREM-580, will currently just avoid making ping invocation
if transport supports ssl. This means that never does the ping invocation to ensure that
the server is really down (and not just lack of getting detection message update), but
instead will just consider it dead if detection message is stale.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira