activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcarter <mcar...@funnelback.com>
Subject Re: Securing active MQ
Date Thu, 12 Feb 2009 22:32:17 GMT




> 
> Re #2 - you could write yourself a broker plugin thingy that extends
> BrokerService and implements the addConnection(ConnectionContext context,
> ConnectionInfo info) method; within which you can check the IP address of
> the remote client making the connection request. 
> 
> 

I've implemented exactly one of those which I'm happy to share if anyone
wants it. My question is, if you which to prevent a connection within the
addConnection call, what is the recommended way of doing it? Currently I
throw an exception which certainly stops the connection, but I wonder if
there is a better way.

-- 
View this message in context: http://www.nabble.com/Securing-active-MQ-tp21612521p21986409.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message