activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Fernandez <joe.fernan...@ttmsolutions.com>
Subject Re: Securing active MQ
Date Thu, 12 Feb 2009 22:45:33 GMT

I believe throwing an exception is the right thing to do. 

Joe
Free ActiveMQ User Reference Guide @ http://www.ttmsolutions.com


mcarter wrote:
> 
> 
> 
>> 
>> 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 wish 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-tp21612521p21986649.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message