activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Siddle (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQ-1381) Client Certificates do not work due to incorrectly overriden method in SslTransport.java
Date Thu, 06 Sep 2007 15:09:22 GMT
Client Certificates do not work due to incorrectly overriden method in SslTransport.java
----------------------------------------------------------------------------------------

                 Key: AMQ-1381
                 URL: https://issues.apache.org/activemq/browse/AMQ-1381
             Project: ActiveMQ
          Issue Type: Bug
          Components: Transport
    Affects Versions: 4.1.1, 5.0.0
         Environment: All
            Reporter: Jon Siddle
         Attachments: activemq-clientcert.patch

The peer certificates never get added to the {{ConnectionInfo}} ({{setTransportContext}})
since {{doConsume()}} in {{SslTransport}} has the wrong signature.

The correct signature is:

{{doConsume(Object command)}}

but SslTransport defines a method with the following signature:

{{doConsume(Command command)}}

Which will obviously never get called.

In its current state, it is impossible for client certificates to work.

See attached patch for fix. Apply with {{patch -p0 < activemq-clientcert.patch}} or simply
change {{Command}} to {{Object}}
in {{SslTransport.java}}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message