In version 3.x I used to have a SecurityAdapter to perform authentication (and authorization aslo), however this mechanism is not available anymore in 4.x. So I'm trying to build a LoginModule class to perform such logic.
My problem is that before, in my SecurityAdapter class, I used to get the broker client's username and password as part of the ConnectionInfo when anybody attempted a connection, through the authorizeConnection method. How do I get such credentials in the new JAAS framework? I know the the LoginModule has the capacity of declaring a callback handler which could be used to retrieve client's credentials. However, I don't see how can I use such mechanism to retrieve the broker-client's data. -- View this message in context: http://www.nabble.com/JAAS-custom-LoginModule-for-ActiveMQ-tf3125809.html#a8660712 Sent from the ActiveMQ - User mailing list archive at Nabble.com.