Hi Steve,

addConnection() is what you need. Take a look at

https://github.com/apache/activemq/blob/trunk/activemq-broker/src/main/java/org/apache/activemq/security/SimpleAuthenticationBroker.java

to see how simple authentication mechanism works.

Regards
--
Dejan Bosanac
----------------------
Red Hat, Inc.
FuseSource is now part of Red Hat
dbosa...@redhat.com
Twitter: @dejanb
Blog: http://sensatic.net
ActiveMQ in Action: http://www.manning.com/snyder/


On Mon, Nov 4, 2013 at 12:40 PM, Steven Turner <steventurner...@gmail.com>wrote:

> Hi ActiveMQ team,
>
> Could somebody please explain the difference between addConnection and
> addSession in the broker plugins.
>
> I want to intercept the first call from client to broker and use that for
> some handshake and authentication. I am wondering what I could possibly
> use.
> What's the difference between these methods and when should one override
> one
> method over the other?
>
> -Steve
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/addConnection-vs-addSession-tp4673828.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Reply via email to