I wish to set up a ActiveMQ instance (primarily as a STOMP server) which will service requests from two types of clients:
- authenticated users which can read and write to topics
- non-authenticated users which can only read from topics
I have been using the SimpleAuthenticationBroker so far and I cannot see anyway to configure the above situation, nor do I see any bit in the code which recognises a wildcard for a user to pass authentication.
If I configure the server to use the authentication broker, it will expect ALL connections to authenticate, which is what I don't want.
The only solution I think I can see is to provide my own implementation to support the functionality I require, but I would love to find some way built into the server.