Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 34354 invoked from network); 24 Jan 2011 23:45:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Jan 2011 23:45:07 -0000 Received: (qmail 15093 invoked by uid 500); 24 Jan 2011 23:45:07 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 15054 invoked by uid 500); 24 Jan 2011 23:45:06 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 15041 invoked by uid 99); 24 Jan 2011 23:45:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jan 2011 23:45:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jan 2011 23:45:04 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0ONihUC024117 for ; Mon, 24 Jan 2011 23:44:43 GMT Message-ID: <20315367.174381295912683248.JavaMail.jira@thor> Date: Mon, 24 Jan 2011 18:44:43 -0500 (EST) From: "Arthur Naseef (JIRA)" To: dev@activemq.apache.org Subject: [jira] Updated: (AMQ-3154) unable to implement custom broker-to-broker authorization In-Reply-To: <12393369.174281295912563396.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AMQ-3154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arthur Naseef updated AMQ-3154: ------------------------------- Attachment: pre_add_broker.patch Patch which adds a "preAddBroker()" method to BrokerFilter which is designed specifically to secure broker-to-broker connections. If an exception is thrown by the method, the TransportConnection shuts down. > unable to implement custom broker-to-broker authorization > --------------------------------------------------------- > > Key: AMQ-3154 > URL: https://issues.apache.org/jira/browse/AMQ-3154 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.4.2 > Reporter: Arthur Naseef > Attachments: pre_add_broker.patch > > > Ran into the following issues preventing a custom Broker-To-Broker authentication implementation: > - BrokerFilter's addBroker() can not be used to secure a connection: > - for duplex connections, it is never called on the initial conneciton > - even if addBroker() throws an exception, it does not deny access (it does not close the connection nor prevent other functioning) > - addBroker() does not have direct access to the ConnectionContext, nor any other means for the BrokerFilter to access SSL certificates on the SSL transport > - BrokerFilter's addConnection() can not be used to secure a connection: > - there is no way to distinguish broker connections from clients > Other approaches were considered, but lead to dead-ends. > It seems the optimal solution would use the existing addBroker() method. > A patch will be provided that adds a new method specifically for securing Broker-To-Broker connections. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.